useAuthEmulator method
Changes this instance to point to an Auth emulator running locally.
Set the host
of the local emulator, such as "localhost"
Set the port
of the local emulator, such as "9099" (port 9099 is default for auth package)
Note: Must be called immediately, prior to accessing auth methods. Do not use with production credentials as emulator traffic is not encrypted.
Implementation
Future<void> useAuthEmulator(String host, int port,
{bool automaticHostMapping = true}) async {
String mappedHost = automaticHostMapping ? getMappedHost(host) : host;
await _delegate.useAuthEmulator(mappedHost, port);
}