isIdle property

bool get isIdle

Implementation

bool get isIdle {
  return switch (this) {
    DataStateIdle<T>() => true,
    _ => false,
  };
}