isSpeakerphoneOn method Null safety

Future<bool> isSpeakerphoneOn()

Check if the speaker phone is turned on

Implementation

Future<bool> isSpeakerphoneOn() async {
  BoolValue reply = await _api.isSpeakerphoneOn();
  return reply.value ?? false;
}