Credentials.apiKey constructor
- String payload
Convenience initializer for creating credentials of type 'api-key' with the provided key as payload.
Implementation
const Credentials.apiKey(this.payload) : type = 'api-key';
Convenience initializer for creating credentials of type 'api-key' with the provided key as payload.
const Credentials.apiKey(this.payload) : type = 'api-key';