deleteGroup method

  1. @override
Future<bool?> deleteGroup(
  1. String jid
)
override

Implementation

@override
Future<bool?> deleteGroup(String jid) async {
  bool? response;
  try {
    response = await mirrorFlyMethodChannel
        .invokeMethod<bool>('deleteGroup', {"jid": jid});
    debugPrint("deleteGroup Result ==> $response");
    return response;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    return false;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    return false;
  }
}