UpdateNewMessage.fromJson constructor

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

Parse from a json

Implementation

factory UpdateNewMessage.fromJson(Map<String, dynamic> json) => UpdateNewMessage(
  message: Message.fromJson(json['message']),
  extra: json['@extra'],
  clientId: json['@client_id'],
);