InstanceReference.fromJson constructor
InstanceReference.fromJson()
Implementation
factory InstanceReference.fromJson(
Map<String, Object?> json,
List<Constant> constants,
List<Location> locations,
) {
return InstanceReference(
instanceConstant:
constants[json[_constantKey] as int] as InstanceConstant,
loadingUnit: json[_loadingUnitKey] as String?,
location: locations[json[_locationKey] as int],
);
}