AWSSuccessResult<V extends Object?, E extends Exception> class final

A successful AWSResult.

For successful results, value is guaranteed to not throw.

Inheritance
Mixed in types

Constructors

AWSSuccessResult(V value)
A successful AWSResult.
const

Properties

exception → E?
The exception that occurred while attempting to retrieve the value.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The type's equatable properties.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setteroverride
stackTrace StackTrace?
The original stack trace of exception, if provided.
no setteroverride
type AWSResultType
Indicates if the result was a success.
no setteroverride
value → V
The value of the result, if the result was successful.
final
valueOrNull → V
The value of the result, or null if there was an error retrieving it.
no setteroverride

Methods

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