ObservantSettings class

What ObservANT's settings page can change, as GET /settings answers it.

Constructors

ObservantSettings({required String name, required int rotate, required double score, List ignore = const <Rect>[], List<String>? classes, bool classesLocked = false})
const

Properties

classes → List<String>?
The COCO classes it watches; null for an ObservANT camera that watches only cats and cannot change it.
final
classesLocked → bool
The privacy filter is on, so only observant.toml sets classes: a page could otherwise unblur people.
final
hashCode → int
The hash code for this object.
no setterinherited
ignore → List
Spots marked "not a cat"; an ObservANT camera before them sends none.
final
name → String
final
rotate → int
Clockwise degrees ObservANT turns its picture by.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
score → double
The certainty a detection needs to count as a cat, 0 to 1.
final

Methods

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

Static Methods

parse(String? body) → ObservantSettings?
null for anything but an ObservANT camera's answer.