StandardPart.fromJson constructor
Deserializes a part from a JSON map.
Implementation
factory StandardPart.fromJson(Map<String, Object?> json) {
final type = json[Part.typeKey] as String;
final JsonToPartConverter<StandardPart> converter =
_standardPartConverterRegistry[type]!;
return converter.convert(json);
}