ExportedStory class
An exported file, before the flow turns it into a StoryResult.
- Annotations
Constructors
- ExportedStory({required String path, required StoryMediaType type, required int width, required int height, required int fileSizeBytes, Duration? duration, String? thumbnailPath})
-
Creates an exported story.
const
Properties
- duration → Duration?
-
Video length.
final
- fileSizeBytes → int
-
File size.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Pixel height.
final
- mimeType → String
-
MIME type.
no setter
- path → String
-
Absolute path in the export directory.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbnailPath → String?
-
Poster frame for videos.
final
- type → StoryMediaType
-
Photo (JPEG) or video (MP4).
final
- width → int
-
Pixel width.
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