getStorageUrl method

Future<String> getStorageUrl(
  1. int fileId
)

Implementation

Future<String> getStorageUrl(int fileId) async{
  String token = await _storage.read(key: KeyUtils.KEY_TOKEN_SESSION);
  return '$_baseUrl/api/Storage?id=$fileId&access_token=$token';
}