PermissionSubjectWithGroupId.fromJson constructor

PermissionSubjectWithGroupId.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory PermissionSubjectWithGroupId.fromJson(Map<String, Object?> json) {
  return PermissionSubjectWithGroupId(
    type: PermissionSubjectWithGroupIdType.fromValue(
        json[r'type'] as String? ?? ''),
    identifier: json[r'identifier'] as String? ?? '',
  );
}