toJson method
Implementation
@override
Object toJson() => {
'query': ?query?.toJson(),
'documents': ?documents?.toJson(),
if (resumeToken case final $1?) 'resumeToken': encodeBytes($1),
'readTime': ?readTime?.toJson(),
if (targetId.isNotDefault) 'targetId': targetId,
if (once.isNotDefault) 'once': once,
'expectedCount': ?expectedCount?.toJson(),
};