isOnCall method
Returns true if there is an active call, a convenience function for activeCall != null
, false otherwise.
See MethodChannelTwilioCall.activeCall
Implementation
@override
Future<bool> isOnCall() async {
return device?.isBusy ?? _jsCall != null;
}