APIPluginOptions class

The plugin options for the Amplify API plugin.

Constructors

APIPluginOptions({List<APIAuthProvider> authProviders = const [], AWSHttpClient? baseHttpClient, ModelProviderInterface? modelProvider, GraphQLSubscriptionOptions subscriptionOptions = const GraphQLSubscriptionOptions()})
The plugin options for the Amplify API plugin.
const

Properties

authProviders List<APIAuthProvider>
List of API Auth providers to be used for API category operations.
final
baseHttpClient → AWSHttpClient?
The HTTP client to be used for API category operations.
final
hashCode int
The hash code for this object.
no setterinherited
modelProvider → ModelProviderInterface?
The model provider for providing access to the data models
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionOptions GraphQLSubscriptionOptions
Configuration options for GraphQL subscriptions and their WebSockets.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited