MessageId.fromJson constructor

MessageId.fromJson(
  1. Map<String, dynamic> json
)

Creates a MessageId object from JSON object

Implementation

factory MessageId.fromJson(Map<String, dynamic> json) {
  return MessageId(
    messageId: json['message_id'],
  );
}