CatStatusLine class
The cat cam's name and its cat, polled from /healthz; with no cat cam behind the page, fallbackName alone.
Constructors
Properties
- arrivalImage → dynamic Function(String url, String label)
-
Builds the last arrival's picture from its URL and label; tests swap the network out.
final
- fallbackName → String
-
final
-
fetch
→ Future<
String?> Function() -
The
/healthzbody, ornullwhen nothing answers it.final - hashCode → int
-
The hash code for this object.
no setterinherited
- interval → Duration
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createState(
) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited