toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (drafts != null) 'drafts': drafts!,
      if (nextPageToken != null) 'nextPageToken': nextPageToken!,
      if (resultSizeEstimate != null)
        'resultSizeEstimate': resultSizeEstimate!,
    };