BuildResult<T> mixin

Protocol that builds 2-state sync result, which could be either a value or an error BuildResult implements BuildValue

BuildResult is designed to be a conceptual protocol, which would be rarely used directly.

Implemented types
Mixin Applications

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

buildError(BuildContext context, Object error) Widget
Contract to to build view when error occurred
buildValue(BuildContext context, T value) Widget
Contract to to build view when value is loaded
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited