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