Definition.fromJson constructor

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

Implementation

factory Definition.fromJson(Map<String, Object?> json) {
  return Definition(
    identifier: Identifier.fromJson(
      json[_identifierKey] as Map<String, Object?>,
    ),
    loadingUnit: json[_loadingUnitKey] as String?,
  );
}