toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (document != null) 'document': document!,
      if (done != null) 'done': done!,
      if (explainMetrics != null) 'explainMetrics': explainMetrics!,
      if (readTime != null) 'readTime': readTime!,
      if (skippedResults != null) 'skippedResults': skippedResults!,
      if (transaction != null) 'transaction': transaction!,
    };