FileData class

Model class to receive the return value from the method channel

Constructors

FileData.new({String? filePath, FileType? fileType})
Constructor
FileData.fromMap(Map<String, dynamic>? data)
Factory constructor to map the data return from the method channel into a new FileData object
factory

Properties

filePath String?
The file path of the captured file (image, video or picked image on Android platform)
final
fileType FileType?
The type of the file return from the method channel. Can be FileType.image or FileType.video
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Override toString method
override

Operators

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