FileContent class

文件消息

Constructors

FileContent({required String fileName, required String filePath, required String fileUrl, required List<int> fileBytes, String type = "", int size = 0})

Properties

fileBytes List<int>
getter/setter pair
fileName String
getter/setter pair
filePath String
getter/setter pair
fileUrl String
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
size int
getter/setter pair
type String
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(String content) FileContent