fromJSON method

Telegram fromJSON(
  1. Map<String, dynamic> json
)

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;
}