AWSDebuggable mixin

An object whose properties can be introspected and thus, printed safely to the console.

Developers should use safePrint where possible to avoid leaking sensitive information in release builds. However, this mixin provides an extra safeguard against accidental leakage by explicitly denoting debug-friendly toString behavior.

Mixin Applications


runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


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


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