SceneItemEvent class Null safety
A class that represents a group of events emitted by ObsWebSocket. These are SceneItemChange.sceneItemAdded, SceneItemChange.sceneItemRemoved, SceneItemChange.sceneItemSelected and SceneItemChange.sceneItemDeselected. The type attribute returns the SceneItemChange.
- Annotations
Constructors
- SceneItemEvent({required int itemId, required String itemName, required String sceneName, String? type})
-
SceneItemEvent.fromJson(Map<
String, dynamic> json, String type) -
factory
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- itemId → int
-
@JsonKey(name: 'item-id'), final
- itemName → String
-
@JsonKey(name: 'item-name'), final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sceneName → String
-
@JsonKey(name: 'scene-name'), final
- type ↔ String?
-
read / write
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited