toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (targetChangeType.isNotDefault)
    'targetChangeType': targetChangeType.toJson(),
  if (targetIds.isNotDefault) 'targetIds': targetIds,
  'cause': ?cause?.toJson(),
  if (resumeToken.isNotDefault) 'resumeToken': encodeBytes(resumeToken),
  'readTime': ?readTime?.toJson(),
};