GalleryAsset class
A photo or video in the library.
- Annotations
Constructors
- GalleryAsset({required String id, required StoryMediaType type, required int width, required int height, Duration? duration})
-
Creates an asset.
const
Properties
- duration → Duration?
-
Video length.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → int
-
Pixel height.
final
- id → String
-
Platform id.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → StoryMediaType
-
Photo or video.
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.
override