getAppliedUserRoles method

  1. @override
Future<List<MPUserRole>?> getAppliedUserRoles()
override

Implementation

@override
Future<List<MPUserRole>?> getAppliedUserRoles() async {
  final userRoles =
      await mapsIndoorsMethodChannel.invokeMethod("MIN_getAppliedUserRoles");
  return convertMIList<MPUserRole>(
      jsonDecode(userRoles), (p0) => MPUserRole.fromJson(p0));
}