Disk class

Annotations
  • @freezed

Constructors

Disk({@JsonKey(name: 'unlimited_autoupload_enabled') bool? unlimitedAutouploadEnabled, @JsonKey(name: 'max_file_size') int? maxFileSize, @JsonKey(name: 'total_space') int? totalSpace, @JsonKey(name: 'trash_size') int? trashSize, @JsonKey(name: 'is_paid') bool? isPaid, @JsonKey(name: 'used_space') int? usedSpace, @JsonKey(name: 'system_folders') SystemFolders? systemFolders, @JsonKey(name: 'user') User? user, @JsonKey(name: 'revision') int? revision})
const
factory
Disk.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $DiskCopyWith<Disk>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isPaid bool?
no setterinherited
maxFileSize int?
no setterinherited
revision int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemFolders SystemFolders?
no setterinherited
totalSpace int?
no setterinherited
trashSize int?
no setterinherited
unlimitedAutouploadEnabled bool?
no setterinherited
usedSpace int?
no setterinherited
user User?
no setterinherited

Methods

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

Operators

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