getImageUrl method

  1. @override
Future<String> getImageUrl(
  1. String path
)
override

Implementation

@override
Future<String> getImageUrl(String path) async {
  // Firebase Storage 인스턴스 생성
  await initialize();

  // 파일의 URL을 얻기 위한 참조 생성
  String url = await _storage!.ref(path).getDownloadURL();

  return url;
}