createOfflineGroupInOnline method

  1. @override
Future<bool?> createOfflineGroupInOnline(
  1. String groupId
)
override

This method is used to get create the group in offline

Implementation

@override
Future<bool?> createOfflineGroupInOnline(String groupId) async {
  bool? res;
  try {
    res = await mirrorFlyMethodChannel.invokeMethod<bool>(
        'createOfflineGroupInOnline', {"groupId": groupId});
    return res;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}