isOnCall method

  1. @override
Future<bool> isOnCall()
override

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;
}