OperationResult class sealed

Base sealed class for operation results.

This follows the Result pattern (similar to Rust's Result<T, E>), providing type-safe error handling without exceptions.

Usage:

final result = manager.updateMinSdk(23);
switch (result) {
  case Success(:final message):
    print('Success: $message');
  case Failure(:final error):
    print('Error: $error');
}
Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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