SharedMediaFile class

Constructors

SharedMediaFile({required String path, required SharedMediaType type, String? thumbnail, int? duration, String? mimeType, String? message})
SharedMediaFile.fromMap(Map<String, dynamic> json)

Properties

duration int?
Video duration in milliseconds
final
hashCode int
The hash code for this object.
no setterinherited
message String?
Post message iOS ONLY
final
mimeType String?
Mime type of the file. i.e. image/jpeg, video/mp4, text/plain
final
path String
Shared file path, url or the text NOTE. All files are copied to a temp cache folder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnail String?
Video thumbnail
final
type SharedMediaType
Shared media type
final

Methods

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

Operators

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