BulkEditAssignedUserRolesRequest.fromJson constructor

BulkEditAssignedUserRolesRequest.fromJson(
  1. Map json_
)

Implementation

BulkEditAssignedUserRolesRequest.fromJson(core.Map json_)
    : this(
        createdAssignedUserRoles:
            json_.containsKey('createdAssignedUserRoles')
                ? (json_['createdAssignedUserRoles'] as core.List)
                    .map((value) => AssignedUserRole.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        deletedAssignedUserRoles:
            json_.containsKey('deletedAssignedUserRoles')
                ? (json_['deletedAssignedUserRoles'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );