getNotificationMessageNew method
Implementation
getNotificationMessageNew(String messageType, String message) {
switch (messageType) {
case MessageType.image:
{
return 'Sent you an image';
}
case MessageType.video:
{
return 'Sent you a video';
}
case MessageType.location:
{
return 'Sent you a location';
}
case MessageType.voiceMessage:
{
return 'Sent you an voice message';
}
default:
{
return message;
}
}
}