CapturedFile class
A file produced by the camera.
- Annotations
Constructors
- CapturedFile({required String path, required StoryMediaType type, required StoryCameraLens lens, Duration? duration, bool mirrored = false})
-
Creates a captured file.
const
Properties
- duration → Duration?
-
Recorded length (measured by the service; the file's real duration is
read again during import).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lens → StoryCameraLens
-
Lens used.
final
- mirrored → bool
-
Whether the saved pixels must be mirrored to match the preview.
final
- path → String
-
Absolute path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → StoryMediaType
-
Photo or video.
final
Methods
-
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