toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final annotations = this.annotations;
  final attachments = this.attachments;
  final formattedText = this.formattedText;
  final sender = this.sender;
  final text = this.text;
  return {
    'annotations': ?annotations,
    'attachments': ?attachments,
    'formattedText': ?formattedText,
    'sender': ?sender,
    'text': ?text,
  };
}