SceneItemStateEvent class Null safety

A class that represents a group of events emitted by ObsWebSocket. These are SceneItemState.sceneItemVisibilityChanged and SceneItemState.sceneItemLockChanged. The type attribute returns the SceneItemState.

Annotations

Constructors

SceneItemStateEvent({required int itemId, required String itemName, bool? itemVisible, bool? itemLocked, required String sceneName, String? type})
SceneItemStateEvent.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
itemLocked bool?
@JsonKey(name: 'item-locked'), read / write
itemName String
@JsonKey(name: 'item-name'), final
itemVisible bool?
@JsonKey(name: 'item-visible'), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sceneName String
@JsonKey(name: 'scene-name'), final
state bool
read-only
type String?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toSceneItemRenderMap(bool render) Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

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