DocumentInfo class abstract

Annotations
  • @freezed

Constructors

DocumentInfo({@JsonKey.new(name: "doc_id") @Default.new("") String docId, @JsonKey.new(name: "doc_url") @Default.new("") String docUrl, @Default.new("") String type, @Default.new("") String owner, @JsonKey.new(name: "bind_type") @Default.new(0) int bindType, @JsonKey.new(name: "school_id") @Default.new("") String schoolId, @Default.new(0) int permission, @JsonKey.new(name: "transcode_result") @Default.new("") String transcodeResult, @JsonKey.new(name: "transcode_progress") @Default.new(0) int transcodeProgress, @JsonKey.new(name: "transcode_type") @Default.new(0) int transcodeType, @JsonKey.new(name: "transcode_state") @Default.new(0) int transcodeState, @JsonKey.new(name: "transcode_info") @Default.new("") String transcodeInfo, @JsonKey.new(name: "doc_type") @Default.new("") String docType, @JsonKey.new(name: "doc_name") @Default.new("") String docName, @Default.new(0) int width, @Default.new(0) int height, @Default.new(false) bool isUploading, int? hashId, @Default.new(100.0) double? cosUploadProgress, @JsonKey.new(name: "doc_size") @Default.new(0) int docSize, @JsonKey.new(name: "update_time") @Default.new(0) int updateTime, @Default.new(0) int pages})
factory
DocumentInfo.fromJson(Map<String, dynamic> json)
factory

Properties

bindType int
no setterinherited
copyWith → $DocumentInfoCopyWith<DocumentInfo>
Create a copy of DocumentInfo with the given fields replaced by the non-null parameter values.
no setterinherited
cosUploadProgress double?
no setterinherited
docId String
no setterinherited
docName String
no setterinherited
docSize int
no setterinherited
docType String
no setterinherited
docUrl String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hashId int?
no setterinherited
height int
no setterinherited
isUploading bool
no setterinherited
owner String
no setterinherited
pages int
no setterinherited
permission int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schoolId String
no setterinherited
transcodeInfo String
no setterinherited
transcodeProgress int
no setterinherited
transcodeResult String
no setterinherited
transcodeState int
no setterinherited
transcodeType int
no setterinherited
type String
no setterinherited
updateTime int
no setterinherited
width int
no setterinherited

Methods

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

Operators

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