AmplifyConfig class

The configuration for Amplify libraries.

Mixed in types
Annotations
  • @zAmplifySerializable

Constructors

AmplifyConfig({String userAgent = 'aws-amplify-cli/2.0', String version = '1.0', ApiConfig? api, AnalyticsConfig? analytics, AuthConfig? auth, NotificationsConfig? notifications, StorageConfig? storage})
The configuration for Amplify libraries.
const
AmplifyConfig.fromJson(Map<String, Object?> json)
factory

Properties

analytics → AnalyticsConfig?
The Analytics category configuration, if available.
final
api → ApiConfig?
The API category configuration, if available.
final
auth → AuthConfig?
The Auth category configuration, if available.
final
hashCode int
The hash code for this object.
no setterinherited
notifications → NotificationsConfig?
The Notifications category configuration, if available.
final
props List<Object?>
The type's equatable properties.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage → StorageConfig?
The Storage category configuration, if available.
final
userAgent String
final
version String
final

Methods

copyWith({ApiConfig? api, AnalyticsConfig? analytics, AuthConfig? auth, NotificationsConfig? notifications, StorageConfig? storage}) AmplifyConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

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