ResourceIdentifiers.fromJson constructor

ResourceIdentifiers.fromJson(
  1. Map<String, Object?> map
)

Implementation

factory ResourceIdentifiers.fromJson(Map<String, Object?> map) =>
    ResourceIdentifiers(
      identifiers: List<Identifier>.from((map['identifiers'] as List?)
              ?.whereType<Map<String, Object?>>()
              .map(Identifier.fromJson) ??
          []),
    );