error property

String get error

Implementation

String get error => value.error ?? '';
set error (String? error)

Implementation

set error(String? error) {
  modify((value) => value.copyWith(error: error));
}