OutputField.fromJson constructor
OutputField.fromJson(
- Map json
Implementation
factory OutputField.fromJson(Map json) {
return OutputField(
name: json['name'],
args: (json['args'] as Iterable)
.map((e) => InputField.fromJson(e))
.toList(),
isNullable: json['isNullable'],
outputType: TypeReference.fromJson(json['outputType']),
deprecation: json['deprecation'] == null
? null
: Deprecation.fromJson(json['deprecation']),
);
}