DriveQuota class

Represents the quota information of a drive.

Annotations
  • @JsonSerializable.new()

Constructors

DriveQuota({int? total, int? used, int? remaining, int? allocated, String? state})
Creates a new DriveQuota instance.
DriveQuota.fromJson(Map<String, dynamic> json)
Creates a DriveQuota instance from JSON data.
factory

Properties

allocated → int?
Total space, in bytes, allocated to all drives of the signed-in user.
final
hashCode → int
The hash code for this object.
no setterinherited
remaining → int?
Remaining space, in bytes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String?
Quota state. Values: normal, warning, exceeded, unknownFutureValue.
final
total → int?
Total allowed storage space, in bytes.
final
used → int?
Used space, in bytes.
final

Methods

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

Operators

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