RestApi constructor
const
RestApi(
- Client client,
- String apiKey, {
- EmulatorConfig? emulator,
Create a new api instance
The api is created with client
and apiKey
to initialize the
equivalent members. They are used to access the firebase servers. If
emulator
is specified, requests will be made against the Firebase auth
emulator instead of the production endpoints using the provided
EmulatorConfig.
Implementation
const RestApi(this.client, this.apiKey, {this.emulator});