Capacity class

The capacity of a product.

For more information, see https://support.google.com/manufacturers/answer/6124116#capacity.

Constructors

Capacity({String? unit, String? value})
Capacity.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unit String?
The unit of the capacity, i.e., MB, GB, or TB.
getter/setter pair
value String?
The numeric value of the capacity.
getter/setter pair

Methods

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

Operators

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