MessagePayload.fromJson constructor

MessagePayload.fromJson(
  1. dynamic json
)

Implementation

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