AmplifyAlreadyConfiguredException class Null safety

Thrown when amplify has already been configured. Amplify can only be configured once at run time. Use this exception to detect that Amplify.configure() is called again (such as during a hot reload)

Inheritance

Constructors

AmplifyAlreadyConfiguredException(String message, {String? recoverySuggestion, String? underlyingException})
Named constructor
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
message String
Message contained in the exception
final, inherited
recoverySuggestion String?
How to recover from this exception (Optional)
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
underlyingException String?
Underlying cause of this exception helpful for debugging (Optional)
final, inherited

Methods

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

Operators

operator ==(Object o) bool
The equality operator. [...]
inherited

Static Methods

fromMap(Map<String, String> serializedException) AmplifyAlreadyConfiguredException
Instantiates and return a new AmplifyException from the serialized exception data
override