toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (orderBy != null) 'orderBy': orderBy!,
      if (pageSize != null) 'pageSize': pageSize!,
      if (pageToken != null) 'pageToken': pageToken!,
      if (query != null) 'query': query!,
      if (scope != null) 'scope': scope!.toJson(),
    };