SharedFile class

Constructors

SharedFile({required String value, String? thumbnail, int? duration, SharedMediaType type = SharedMediaType.FILE})
SharedFile.fromJson(Map<String, dynamic> json)

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited