DiveCoreElementsState class

The state model for core elements.

Constructors

DiveCoreElementsState({Iterable<DiveAudioSource>? audioSources, Iterable<DiveImageSource>? imageSources, Iterable<DiveMediaSource>? mediaSources, Iterable<DiveVideoSource>? videoSources, Iterable<DiveSource>? sources, Iterable<DiveScene>? scenes, Iterable<DiveVideoMix>? videoMixes, DiveRecordingOutput? recordingOutput, DiveStreamingOutput? streamingOutput, DiveScene? currentScene})
const

Properties

audioSources Iterable<DiveAudioSource>
final
currentScene DiveScene?
final
hashCode int
The hash code for this object.
no setterinherited
imageSources Iterable<DiveImageSource>
final
mediaSources Iterable<DiveMediaSource>
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
recordingOutput DiveRecordingOutput?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scenes Iterable<DiveScene>
final
sources Iterable<DiveSource>
final
streamingOutput DiveStreamingOutput?
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
videoMixes Iterable<DiveVideoMix>
final
videoSources Iterable<DiveVideoSource>
final

Methods

clear({bool audioSources = false, bool imageSources = false, bool mediaSources = false, bool videoSources = false, bool sources = false, bool scenes = false, bool videoMixes = false, bool recordingOutput = false, bool streamingOutput = false, bool currentScene = false}) DiveCoreElementsState
copyWith({Iterable<DiveAudioSource>? audioSources, Iterable<DiveImageSource>? imageSources, Iterable<DiveMediaSource>? mediaSources, Iterable<DiveVideoSource>? videoSources, Iterable<DiveSource>? sources, Iterable<DiveScene>? scenes, Iterable<DiveVideoMix>? videoMixes, DiveRecordingOutput? recordingOutput, DiveStreamingOutput? streamingOutput, DiveScene? currentScene}) DiveCoreElementsState
Updates the current state with only the arguments that are not null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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