toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (document != null) 'document': document!,
      if (matchedTokenPageIndices != null)
        'matchedTokenPageIndices': matchedTokenPageIndices!,
      if (qaResult != null) 'qaResult': qaResult!,
      if (searchTextSnippet != null) 'searchTextSnippet': searchTextSnippet!,
    };