voiceCall method

  1. @override
Future<bool> voiceCall(
  1. String name,
  2. bool toast
)
override

Implementation

@override
Future<bool> voiceCall(String name, bool toast) async {
  try {
    return await methodChannel.invokeMethod(
        'videoCall', {'name': name, 'video': false, 'toast': toast});
  } on PlatformException catch (error) {
    debugPrint("$error");
    return false;
  }
}