InputTypeConstraints.fromJson constructor
InputTypeConstraints.fromJson(
- Map json
Implementation
factory InputTypeConstraints.fromJson(Map json) {
return InputTypeConstraints(
maxNumFields: json['maxNumFields'],
minNumFields: json['minNumFields'],
fields: json['fields'] == null
? null
: (json['fields'] as Iterable).cast<String>(),
);
}