error property

Object? error

The error of an AsyncValue. Is not null if the state is AsyncError.

Implementation

Object? get error => null;