AmplifyPluginConfigMap class abstract
A map of Amplify Plugin names to their typed representations.
- Inheritance
-
- Object
- ConfigMap<
AmplifyPluginConfig> - AmplifyPluginConfigMap
Constructors
-
AmplifyPluginConfigMap(Map<
String, AmplifyPluginConfig> plugins) -
A map of Amplify Plugin names to their typed representations.
const
Properties
-
all
→ Map<
String, AmplifyPluginConfig> -
All configurations in this map.
no setteroverride
- awsPlugin → AmplifyPluginConfig?
-
The AWS plugin configuration, if available.
no setter
- default$ → AmplifyPluginConfig?
-
The default configuration.
no setteroverride
-
entries
→ Iterable<
MapEntry< String, AmplifyPluginConfig> > -
The map entries of this Map.
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 Map.
no setterinherited
- length → int
-
The number of key/value pairs in the map.
no setterinherited
-
plugins
→ Map<
String, AmplifyPluginConfig> -
All category plugin configurations.
final
-
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 Map.
no setterinherited
Methods
-
addAll(
Map< String, AmplifyPluginConfig> other) → void -
Adds all key/value pairs of
other
to this map.inherited -
addEntries(
Iterable< MapEntry< newEntries) → voidString, AmplifyPluginConfig> > -
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 andRV
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(
) → ConfigMap< AWSSerializable> -
Creates a copy of this map.
inherited
-
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.inherited -
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
, ornull
ifkey
is not in the map.inherited -
operator []=(
String key, AmplifyPluginConfig value) → void -
Associates the
key
with the givenvalue
.inherited