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
-
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