toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final objectReference = this.objectReference;
  final facetFilter = this.facetFilter;
  final maxResults = this.maxResults;
  final nextToken = this.nextToken;
  return {
    'ObjectReference': objectReference,
    if (facetFilter != null) 'FacetFilter': facetFilter,
    if (maxResults != null) 'MaxResults': maxResults,
    if (nextToken != null) 'NextToken': nextToken,
  };
}