QueryOperator.fromJson constructor
QueryOperator.fromJson(
- Map json_
Implementation
QueryOperator.fromJson(core.Map json_)
: this(
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
enumValues: json_.containsKey('enumValues')
? (json_['enumValues'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
greaterThanOperatorName: json_.containsKey('greaterThanOperatorName')
? json_['greaterThanOperatorName'] as core.String
: null,
isFacetable: json_.containsKey('isFacetable')
? json_['isFacetable'] as core.bool
: null,
isRepeatable: json_.containsKey('isRepeatable')
? json_['isRepeatable'] as core.bool
: null,
isReturnable: json_.containsKey('isReturnable')
? json_['isReturnable'] as core.bool
: null,
isSortable: json_.containsKey('isSortable')
? json_['isSortable'] as core.bool
: null,
isSuggestable: json_.containsKey('isSuggestable')
? json_['isSuggestable'] as core.bool
: null,
lessThanOperatorName: json_.containsKey('lessThanOperatorName')
? json_['lessThanOperatorName'] as core.String
: null,
objectType: json_.containsKey('objectType')
? json_['objectType'] as core.String
: null,
operatorName: json_.containsKey('operatorName')
? json_['operatorName'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);