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