PermissionSubject.fromJson constructor

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

Implementation

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