QueryBuilderConfig.fromJson constructor
QueryBuilderConfig.fromJson(
- Map json_
Implementation
QueryBuilderConfig.fromJson(core.Map json_)
: this(
fieldSources: (json_['fieldSources'] as core.List?)
?.map(
(value) => FieldSource.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
filter: json_.containsKey('filter')
? FilterPredicate.fromJson(
json_['filter'] as core.Map<core.String, core.dynamic>,
)
: null,
limit: json_['limit'] as core.String?,
orderBys: (json_['orderBys'] as core.List?)
?.map(
(value) => SortOrderParameter.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
resourceNames: (json_['resourceNames'] as core.List?)
?.map((value) => value as core.String)
.toList(),
searchTerm: json_['searchTerm'] as core.String?,
);