getInvitedUsersList method

  1. @override
Future<List<String>> getInvitedUsersList()
override

This method is used to get the invited users list.

Implementation

@override
Future<List<String>> getInvitedUsersList() async {
  try {
    var users =
        await mirrorFlyCallMethodChannel.invokeMethod('getInvitedUsersList');
    LogMessage.d('getInvitedUsersList :', " jidList : $users");
    return List<String>.from(json
        .decode(users)
        .map((x) => x.toString())); //json.decode(users) as List<String>;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}