getStorage method

Future<Storage> getStorage(
  1. String uuid
)

Get storage info by uuid.

Parameters

  • uuid uuid of the storage

Implementation

Future<Storage> getStorage(String uuid) async {
  APIHttpResponse response = await httpClient.get('/storage/$uuid');
  return Storage.fromMap(response.data);
}