FileTypeModel class

文件类型 Model

Constructors

FileTypeModel({String type = '', IconData icon = Icons.description_outlined, FileStorageDirectoryType? fileStorageDirectoryType = FileStorageDirectoryType.file})
文件类型 Model
FileTypeModel.fromJson(Map<String, dynamic> json)
从 JSON 创建 FileTypeModel

Properties

fileStorageDirectoryType FileStorageDirectoryType?
文件类型
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon IconData
文件图标
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
文件类型
getter/setter pair

Methods

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

Operators

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