toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (formattedSearchTime != null)
        'formattedSearchTime': formattedSearchTime!,
      if (formattedTotalResults != null)
        'formattedTotalResults': formattedTotalResults!,
      if (searchTime != null) 'searchTime': searchTime!,
      if (totalResults != null) 'totalResults': totalResults!,
    };