sentGroupImage function
dynamic
sentGroupImage({})
Implementation
sentGroupImage({
required String userId,
required String name,
required String profile,
int imageQuality = 25,
ImageSource source = ImageSource.camera,
}) async {
String image = await pickImage('ChatRooms', source, imageQuality);
if (image.isNotEmpty) {
sendMessage(url: image, userId: userId, name: name, profile: profile);
}
}