useStorageEmulator method
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
@override
Future<void> useStorageEmulator(String host, int port) async {
guard(() => delegate.useStorageEmulator(host, port));
}