ChatVoiceMessageBody.fromJson constructor
- required Map map,
Implementation
ChatVoiceMessageBody.fromJson({required Map map})
    : super.fromJson(map: map, type: MessageType.VOICE) {
  this.duration = map["duration"] ?? 0;
}ChatVoiceMessageBody.fromJson({required Map map})
    : super.fromJson(map: map, type: MessageType.VOICE) {
  this.duration = map["duration"] ?? 0;
}