EMCustomMessageBody.fromJson constructor
- {required Map map}
Implementation
EMCustomMessageBody.fromJson({required Map map})
: super.fromJson(map: map, type: MessageType.CUSTOM) {
this.event = map["event"];
this.params = map["params"]?.cast<String, String>();
}