FieldRefType.fromJson constructor
FieldRefType.fromJson(
- Map json
Implementation
factory FieldRefType.fromJson(Map json) {
return FieldRefType(
name: json['name'],
allowTypes: (json['allowTypes'] as Iterable)
.map((e) => TypeReference.fromJson(e)),
fields: (json['fields'] as Iterable).map((e) => InputField.fromJson(e)),
);
}