SharedFile class

Constructors

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

Properties

duration int?
Video duration in milliseconds
getter/setter pair
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
getter/setter pair
type SharedMediaType
Whether its a video or image or file
getter/setter pair
value String?
Image or Video path or text NOTE. for iOS only the file is always copied
getter/setter pair

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