isSuccess property
bool
get
isSuccess
Returns true if this result represents a success
Implementation
bool get isSuccess => switch (this) {
Success() => true,
Failure() => false,
};
Returns true if this result represents a success
bool get isSuccess => switch (this) {
Success() => true,
Failure() => false,
};