SharedMediaFile class
Represents a shared media file.
Constructors
- Creates a SharedMediaFile with the given values.
- Creates a SharedMediaFile from a JSON object.
Properties
- duration → int?
-
Video duration in milliseconds
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
Image or Video path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbnail → String?
-
Video thumbnail
final
- type → SharedMediaType
-
Whether its a video or image or file
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