StreamStateEvent class Null safety
A class that represents a group of events emitted by ObsWebSocket. These are StreamState.streamStarting, StreamState.streamStarted, StreamState.streamStopping and StreamState.streamStopped. The type attribute returns the StreamState.
- Annotations
Constructors
- StreamStateEvent({bool? previewOnly})
-
StreamStateEvent.fromJson(Map<
String, dynamic> json, String type) -
factory
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- previewOnly ↔ bool?
-
@JsonKey(name: 'preview-only'), read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type ↔ String?
-
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited