createGroup method
Implementation
@override
Future<dynamic> createGroup(String groupName, List<String> userJidList, String imageFilePath) async {
dynamic response;
try {
response = await mirrorFlyMethodChannel.invokeMethod('createGroup', {
"group_name": groupName,
"members": userJidList,
"file": imageFilePath,
});
LogMessage.d("create group Response ", " $response");
return response;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}