AuthConfig class

The Auth category configuration.

Inheritance
Annotations

Constructors

AuthConfig({required Map<String, AmplifyPluginConfig> plugins})
The Auth category configuration.
const
AuthConfig.fromJson(Map<String, Object?> json)
factory

Properties

all Map<String, AmplifyPluginConfig>
All configurations in this map.
no setterinherited
awsPlugin CognitoPluginConfig?
The AWS Cognito plugin configuration, if available.
no setteroverride
default$ AmplifyPluginConfig?
The default configuration.
no setterinherited
entries Iterable<MapEntry<String, AmplifyPluginConfig>>
The map entries of this.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Whether there is no key/value pair in the map.
no setterinherited
isNotEmpty bool
Whether there is at least one key/value pair in the map.
no setterinherited
keys Iterable<String>
The keys of this.
no setterinherited
length int
The number of key/value pairs in the map.
no setterinherited
plugins Map<String, AmplifyPluginConfig>
All category plugin configurations.
finalinherited
props List<Object?>
The type's equatable properties.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Iterable<AmplifyPluginConfig>
The values of this.
no setterinherited

Methods

addAll(Map<String, AmplifyPluginConfig> other) → void
Adds all key/value pairs of other to this map.
inherited
addEntries(Iterable<MapEntry<String, AmplifyPluginConfig>> newEntries) → void
Adds all key/value pairs of newEntries to this map.
inherited
cast<RK, RV>() Map<RK, RV>
Provides a view of this map as having RK keys and RV instances, if necessary.
inherited
clear() → void
Removes all entries from the map.
inherited
containsKey(Object? key) bool
Whether this map contains the given key.
inherited
containsValue(Object? value) bool
Whether this map contains the given value.
inherited
copy() AuthConfig
Creates a copy of this map.
override
forEach(void action(String key, AmplifyPluginConfig value)) → void
Applies action to each key/value pair of the map.
inherited
map<K2, V2>(MapEntry<K2, V2> transform(String key, AmplifyPluginConfig value)) Map<K2, V2>
Returns a new map where all entries of this map are transformed by the given convert function.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putIfAbsent(String key, AmplifyPluginConfig ifAbsent()) AmplifyPluginConfig
Look up the value of key, or add a new entry if it isn't there.
inherited
remove(Object? key) AmplifyPluginConfig?
Removes key and its associated value, if present, from the map.
inherited
removeWhere(bool test(String key, AmplifyPluginConfig value)) → void
Removes all entries of this map that satisfy the given test.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
override
toString() String
A string representation of this object.
inherited
update(String key, AmplifyPluginConfig update(AmplifyPluginConfig value), {AmplifyPluginConfig ifAbsent()?}) AmplifyPluginConfig
Updates the value for the provided key.
inherited
updateAll(AmplifyPluginConfig update(String key, AmplifyPluginConfig value)) → void
Updates all values.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](Object? key) AmplifyPluginConfig?
The value for the given key, or null if key is not in the map.
inherited
operator []=(String key, AmplifyPluginConfig value) → void
Associates the key with the given value.
inherited