NiceVoiceMessage constructor
const
NiceVoiceMessage({
- Key? key,
- String? audioUrl,
- required Duration duration,
- bool isMe = false,
- DateTime? timestamp,
- NiceMessageStatus? status,
- VoidCallback? onPlay,
- VoidCallback? onPause,
Implementation
const NiceVoiceMessage({
super.key,
this.audioUrl,
required this.duration,
this.isMe = false,
this.timestamp,
this.status,
this.onPlay,
this.onPause,
});