loadAsset method

Future<Object> loadAsset(
  1. String asset
)

Loads an asset and returns the server response.

Implementation

Future<Object> loadAsset(String asset) {
  return httpFetch(getAssetUrl(asset));
}