SharedMediaFile class

Constructors

SharedMediaFile(String path, String? thumbnail, int? duration, SharedMediaType type)
SharedMediaFile.fromJson(Map<String, dynamic> json)

Properties

duration int?
Video duration in milliseconds
final
hashCode int
The hash code for this object.
no setterinherited
path String
Image or Video path. NOTE. for iOS only the file is always copied
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