uploadImage method
Uploads filePath as a chat image attachment and returns its public
URL.
Implementation
@override
Future<String> uploadImage(String filePath, String fileName) async {
final ref = _storage.ref().child("chat/images/$fileName");
await ref.putFile(File(filePath));
return ref.getDownloadURL();
}