ChatCustomMessageBody.fromJson constructor

ChatCustomMessageBody.fromJson({
  1. 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>();
}