Definition.fromJson constructor
Implementation
factory Definition.fromJson(
Map<String, dynamic> json,
List<Identifier> identifiers,
List<String> uris,
) {
final identifier = identifiers[json['id'] as int];
return Definition(
identifier: identifier,
location: Location.fromJson(json['@'] as Map<String, dynamic>, uris),
loadingUnit: json['loadingUnit'] as String?,
);
}