VideoRecordedEvent class Null safety

An event fired when a video has finished recording.

Inheritance

Constructors

VideoRecordedEvent(int cameraId, XFile file, Duration? maxVideoDuration)
Build a VideoRecordedEvent triggered from the camera with the cameraId.
const
VideoRecordedEvent.fromJson(Map<String, dynamic> json)
Converts the supplied Map to an instance of the VideoRecordedEvent class.

Properties

cameraId int
The ID of the Camera this event is associated to.
finalinherited
file XFile
XFile of the recorded video.
final
hashCode int
The hash code for this object.
read-onlyoverride
maxVideoDuration Duration?
Maximum duration of the recorded video.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the VideoRecordedEvent instance into a Map instance that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

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