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