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