toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final amountMicros = this.amountMicros;
  final channelId = this.channelId;
  final commentText = this.commentText;
  final createdAt = this.createdAt;
  final currency = this.currency;
  final displayString = this.displayString;
  final isSuperStickerEvent = this.isSuperStickerEvent;
  final messageType = this.messageType;
  final superStickerMetadata = this.superStickerMetadata;
  final supporterDetails = this.supporterDetails;
  return {
    'amountMicros': ?amountMicros,
    'channelId': ?channelId,
    'commentText': ?commentText,
    'createdAt': ?createdAt?.toUtc().toIso8601String(),
    'currency': ?currency,
    'displayString': ?displayString,
    'isSuperStickerEvent': ?isSuperStickerEvent,
    'messageType': ?messageType,
    'superStickerMetadata': ?superStickerMetadata,
    'supporterDetails': ?supporterDetails,
  };
}