sendGroupJoinApplication method

Future<Map> sendGroupJoinApplication(
  1. String groupID,
  2. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> sendGroupJoinApplication(
    String groupID, dynamic config) async {
  final result = await promiseToFuture(ZIM
          .getInstance()!
          .sendGroupJoinApplication(groupID, mapToJSObj(config)))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}