PayPalRestApi(BaseClient _client)

Source

PayPalRestApi(this._client) {
  payments = new PaymentsApi(_client);
}