RestApi constructor

const RestApi(
  1. Client client,
  2. String apiKey
)

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.

Implementation

const RestApi(this.client, this.apiKey);