toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (groundingChunks != null) 'groundingChunks': groundingChunks!,
      if (groundingSupports != null) 'groundingSupports': groundingSupports!,
      if (retrievalMetadata != null) 'retrievalMetadata': retrievalMetadata!,
      if (searchEntryPoint != null) 'searchEntryPoint': searchEntryPoint!,
      if (webSearchQueries != null) 'webSearchQueries': webSearchQueries!,
    };