EMVoiceMessageBody.fromJson constructor

EMVoiceMessageBody.fromJson(
  1. {required Map map}
)

Implementation

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