Endpoints constructor
Endpoints({
- String query = 'query',
- String command = 'command',
- SubscriptionEndpoints? subscription,
Implementation
Endpoints({
this.query = 'query',
this.command = 'command',
SubscriptionEndpoints? subscription
}) {
ArgumentError.checkNotNull(query, 'query');
ArgumentError.checkNotNull(command, 'command');
this._subscription = subscription ?? SubscriptionEndpoints();
}