useEmulator method

Future<void> useEmulator(
  1. String host,
  2. int port
)

Changes this instance to point to a Storage emulator running locally.

Set the host (ex: localhost) and port (ex: 9199) of the local emulator.

Note: Must be called immediately, prior to accessing storage methods. Do not use with production credentials as emulator traffic is not encrypted.

Note: storage emulator is not supported for web yet. firebase-js-sdk does not support storage.useStorageEmulator until v9

Implementation

Future<void> useEmulator(String host, int port) {
  throw UnimplementedError('useEmulator() is not implemented');
}