OutputType.fromJson constructor
OutputType.fromJson(
- Map json
Implementation
factory OutputType.fromJson(Map json) {
return OutputType(
name: json['name'],
fields: (json['fields'] as Iterable)
.map((e) => OutputField.fromJson(e))
.toList(),
);
}