status property

String? get status

Implementation

String? get status => _status?.get();
set status (dynamic v)

Implementation

set status(dynamic v) {
  if (_status != null) {
    _status!.set(v);
  } else if (v != null) {
    _status = StringObservable(Binding.toKey(id, 'status'), v, scope: scope);
  }
  if ((v == "success" || v == "error") && timetoidle > 0) {
    _statusTimer =
        Timer(Duration(seconds: timetoidle), () => status = "idle");
  }
}