Filter.fromJson constructor
Filter.fromJson(
- Map _json
Implementation
Filter.fromJson(core.Map _json)
: this(
betweenFilter: _json.containsKey('betweenFilter')
? BetweenFilter.fromJson(
_json['betweenFilter'] as core.Map<core.String, core.dynamic>)
: null,
fieldName: _json.containsKey('fieldName')
? _json['fieldName'] as core.String
: null,
inListFilter: _json.containsKey('inListFilter')
? InListFilter.fromJson(
_json['inListFilter'] as core.Map<core.String, core.dynamic>)
: null,
numericFilter: _json.containsKey('numericFilter')
? NumericFilter.fromJson(
_json['numericFilter'] as core.Map<core.String, core.dynamic>)
: null,
stringFilter: _json.containsKey('stringFilter')
? StringFilter.fromJson(
_json['stringFilter'] as core.Map<core.String, core.dynamic>)
: null,
);