ResendResult<S> class
sealed
Abstract class representing the result of a Resend API request
- Implementers
Constructors
- ResendResult.failure(ResendError? error, String? message)
-
Factory constructor to create a failure result
factory
- ResendResult.success(S value)
-
Factory constructor to create a success result
factory
Properties
Methods
-
fold<
R> ({required FutureOr< R> onSuccess(S value), required FutureOr<R> onFailure(ResendError? error, String? message)}) → FutureOr<R> - Method to handle both success and failure cases
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited