toJson method
Implementation
@override
Object toJson() => {
'parent': parent,
if (structuredAggregationQuery case final structuredAggregationQuery?)
'structuredAggregationQuery': structuredAggregationQuery.toJson(),
if (transaction case final transaction?)
'transaction': encodeBytes(transaction),
if (newTransaction case final newTransaction?)
'newTransaction': newTransaction.toJson(),
if (readTime case final readTime?) 'readTime': readTime.toJson(),
if (explainOptions case final explainOptions?)
'explainOptions': explainOptions.toJson(),
};