menu
cowpay package
documentation
core/packages/dartz/dartz.dart
Attempt<A> class
Attempt<A> class
dark_mode
light_mode
Attempt<
A
>
class
Inheritance
Object
IOOp
<
Either
<
Object
,
A
>
>
Attempt
Constructors
Attempt
(
Free
<
IOOp
,
A
>
fa
)
Properties
fa
→
Free
<
IOOp
,
A
>
final
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
fail
(
Object
err
)
→
Either
<
Object
,
A
>
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
succeed
(
A
a
)
→
Either
<
Object
,
A
>
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
cowpay package
documentation
core/packages/dartz/dartz
Attempt<A> class
dartz library