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});
    LogMessage.d("deleteGroup Result ", " $response");
    return response;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    return false;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    return false;
  }
}