fromJSON method
Restores this instance from the given JSON object.
Implementation
Telegram fromJSON(Map<String,dynamic> json ) {
sender = json['sender'];
receiver = json['receiver'];
message = json['message'];
delay = json['delay'];
data = json['data'];
return this;
}