VideoRecordedEvent class Null safety
An event fired when a video has finished recording.
- VideoRecordedEvent(int cameraId, XFile file, Duration? maxVideoDuration)
Build a VideoRecordedEvent triggered from the camera with the
- Converts the supplied Map to an instance of the VideoRecordedEvent class.
- cameraId → int
The ID of the Camera this event is associated to.
- file → XFile
XFile of the recorded video.
- hashCode → int
The hash code for this object.
- maxVideoDuration → Duration?
Maximum duration of the recorded video.
- runtimeType → Type
A representation of the runtime type of the object.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → Map< String, dynamic>
- Converts the VideoRecordedEvent instance into a Map instance that can be serialized to JSON.
) → String
A string representation of this object.
Object other) → bool
The equality operator.