videoCall method

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

Implementation

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