ProClock class

a ProClock is the version of a clock reported by the Remote Control API

Mixed in types

Constructors

ProClock({ProLegacyClient? parent})
ProClock.fromMap({ProLegacyClient? parent, required Map<String, dynamic> data})

Properties

callbacks Map<String, List<void Function(ProEvent<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<ProEvent<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 API
no setter
type ProClockType
getter/setter pair
typeString String
no setter
updates Stream<bool>
no setter

Methods

clear() → void
inherited
dispose() → void
inherited
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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → void
on(String event, void callback(ProEvent<Object> event)) ProEventObserver
set a callback for events of this type.
inherited
stream(String event) Stream<ProEvent<Object>>
listen to an event on this ProEventEmitter as a stream. An ProEvent will be emitted whenever the event by this name is emitted.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited