RecordingStateEvent class Null safety

A class that represents a group of events emitted by ObsWebSocket. These are RecordingState.recordingStarting, RecordingState.recordingStarted, RecordingState.recordingStopping, RecordingState.recordingStopped, RecordingState.recordingPaused and RecordingState.recordingResumed. The type attribute returns the RecordingState. Note: In some cases recordingFilename is not provided in this event because this information is not available at the time this event is emitted.

Annotations

Constructors

RecordingStateEvent({String? recordingFilename, String? type})
RecordingStateEvent.fromJson(Map<String, dynamic> json, String type)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
recordingFilename String?
@JsonKey(name: 'recordingFilename'), 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