Message.audioOnly constructor
Implementation
factory Message.audioOnly({
required Uint8List audioBytes,
bool isUser = false,
String text = '',
}) {
return Message(text: text, audioBytes: audioBytes, isUser: isUser);
}
factory Message.audioOnly({
required Uint8List audioBytes,
bool isUser = false,
String text = '',
}) {
return Message(text: text, audioBytes: audioBytes, isUser: isUser);
}