MessagePayload.fromJson constructor
MessagePayload.fromJson(
- dynamic json
Implementation
factory MessagePayload.fromJson(dynamic json) {
return MessagePayload(type: json['type'], data: json['data']);
}