toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (amountMicros != null) 'amountMicros': amountMicros!,
if (channelId != null) 'channelId': channelId!,
if (commentText != null) 'commentText': commentText!,
if (createdAt != null)
'createdAt': createdAt!.toUtc().toIso8601String(),
if (currency != null) 'currency': currency!,
if (displayString != null) 'displayString': displayString!,
if (isSuperStickerEvent != null)
'isSuperStickerEvent': isSuperStickerEvent!,
if (messageType != null) 'messageType': messageType!,
if (superStickerMetadata != null)
'superStickerMetadata': superStickerMetadata!,
if (supporterDetails != null) 'supporterDetails': supporterDetails!,
};