ProClock class
a ProClock is the version of a clock reported by the Remote Control API
Constructors
- ProClock({ProLegacyClient? parent})
-
ProClock.fromMap({ProLegacyClient? parent, required Map<
String, dynamic> data})
Properties
-
callbacks
↔ Map<
String, List< void Function(Event< >Object> event)> -
getter/setter pairinherited
- current ↔ String
-
getter/setter pair
- description → String
-
no setter
- duration ↔ String
-
getter/setter pair
- end ↔ String
-
getter/setter pair
-
eventStream
↔ StreamController<
Event< Object> > -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int
-
getter/setter pair
- isPM ↔ bool
-
getter/setter pair
- name ↔ String
-
getter/setter pair
- overrun ↔ bool
-
getter/setter pair
- parent ↔ ProLegacyClient?
-
getter/setter pair
- running ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timer → ProTimer?
-
a
timer
is the version of a clock reported by the Stage Display APIno setter - type ↔ ProClockType
-
getter/setter pair
- typeString → String
-
no setter
-
updates
→ Stream<
bool> -
no setter
Methods
-
emit(
String event, [Object? data]) → void -
emit will always emit twice... first, by the name of the event
submitted, and secondly, by the name of the special event 'all'
inherited
-
listen(
String event) → Stream< Event< Object> > -
listen to an event on this
EventEmitter
as a stream. A True value will be emitted whenever the event by this name is emitted.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
) → void -
on(
String event, void callback(Event< Object> event)) → EventObserver -
set a callback for events of this type.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited