EMCustomMessageBody.fromJson constructor

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