sentGroupImageByFile function
dynamic
sentGroupImageByFile({})
Implementation
sentGroupImageByFile(
{required String userId,
required String name,
required String profile,
required File file}) async {
String image = await postImageOnFirebase('ChatRooms', file);
if (image.isNotEmpty) {
sendMessage(url: image, userId: userId, name: name, profile: profile);
}
}