fromJSON method
Implementation
@override
void fromJSON(dynamic json) {
if (json is! Map<String, dynamic>) {
return;
}
if (json.containsKey(FilterField.inList)) {
inList = json[FilterField.inList];
}
if (json.containsKey(FilterField.notInList)) {
notInList = json[FilterField.notInList];
}
if (json.containsKey(FilterField.equal)) {
equal = json[FilterField.equal];
}
if (json.containsKey(FilterField.notEqual)) {
notEqual = json[FilterField.notEqual];
}
}