toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'arrivedMessage': arrivedMessage,
      'content': content,
      'description': description,
      'extra': extra == null ? null : extra!.toJson(),
      'messageId': messageId,
      'messageType': messageType,
      'notified': notified,
      'notifyId': notifyId,
      'notifyType': notifyType,
      'passThrough': passThrough,
      'title': title,
    };