AudioReactiveScene class final
A scene is data: which metrics drive which targets. Mapping ids are unique within the scene.
- Annotations
-
- @immutable
Constructors
-
AudioReactiveScene({required String id, required int revision, Object? title, Object? description, required List<
AudioReactiveMapping> mappings, Map<String, Object?> extra = const {}}) -
Creates a AudioReactiveScene.
const
-
AudioReactiveScene.fromJson(Map<
String, Object?> json, [String path = '']) -
Decodes
json; throws FormatException (with the JSON path) on a missing required member or a type mismatch. Unknown members and explicit nulls go to extra.factory
Properties
- description → Object?
-
Plain string (treated as
en) or a localised map. (map branch = the root schema, inlined for tools that mis-handle self references)final -
extra
→ Map<
String, Object?> -
Members this version does not model (incl.
x-*extensions and explicit nulls); written back by toJson.final - hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Document-scoped id (.dome displays[].id, assets[].id, playlist / cue ids); unique within its parent.
final
-
mappings
→ List<
AudioReactiveMapping> -
mappingsmember.final - revision → int
-
Monotonic resource revision; the strong ETag is derived from it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → Object?
-
Plain string (treated as
en) or a localised map. (map branch = the root schema, inlined for tools that mis-handle self references)final
Methods
-
copyWith(
{String? id, int? revision, Object? title, Object? description, List< AudioReactiveMapping> ? mappings, Map<String, Object?> ? extra}) → AudioReactiveScene - A copy with the given members replaced (a member cannot be reset to null this way).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Encodes to JSON (absent members omitted, extra merged back).
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override