toJson method
Implementation
@override
Object toJson() => {
'parent': parent,
if (collectionId.isNotDefault) 'collectionId': collectionId,
if (pageSize.isNotDefault) 'pageSize': pageSize,
if (pageToken.isNotDefault) 'pageToken': pageToken,
if (orderBy.isNotDefault) 'orderBy': orderBy,
'mask': ?mask?.toJson(),
if (transaction case final $1?) 'transaction': encodeBytes($1),
'readTime': ?readTime?.toJson(),
if (showMissing.isNotDefault) 'showMissing': showMissing,
};