BaseEvent class Null safety
A class that represents an event emitted by the ObsWebSocket the a
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
rawEvent
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- updateType → String
-
final
Methods
-
asEvent<
T> () → Object - returns a StreamStatusEvent, RecordingStateEvent, SceneItemEvent, SceneItemStateEvent, StreamStateEvent object or an Exception if BaseEvent doesn't match the Type provided.
-
asRecordingStateEvent(
) → RecordingStateEvent -
returns a RecordingState object or an Exception if BaseEvent type
can't be resolved.
@Deprecated('will be reomved')
-
asSceneItemEvent(
) → SceneItemEvent -
returns a SceneItemEvent object or an Exception if BaseEvent type
can't be resolved.
@Deprecated('will be reomved')
-
asSceneItemStateEvent(
) → SceneItemStateEvent -
returns a SceneItemStateEvent object or an Exception if BaseEvent type
can't be resolved.
@Deprecated('will be reomved')
-
asSteamStateEvent(
) → StreamStateEvent -
returns a StreamStateEvent object or an Exception if BaseEvent type
can't be resolved.
@Deprecated('will be reomved')
-
asSteamStatusEvent(
) → StreamStatusEvent -
returns a StreamStatusEvent object or an Exception if BaseEvent type
can't be resolved.
@Deprecated('will be reomved')
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited