Dart Documentationchrome.systemStorageAvailableCapacityInfo

StorageAvailableCapacityInfo class

class StorageAvailableCapacityInfo extends ChromeObject {
 StorageAvailableCapacityInfo({String id, num availableCapacity}) {
   if (id != null) this.id = id;
   if (availableCapacity != null) this.availableCapacity = availableCapacity;
 }
 StorageAvailableCapacityInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 String get id => jsProxy['id'];
 set id(String value) => jsProxy['id'] = value;

 num get availableCapacity => jsProxy['availableCapacity'];
 set availableCapacity(num value) => jsProxy['availableCapacity'] = jsify(value);
}

Extends

ChromeObject > StorageAvailableCapacityInfo

Constructors

new StorageAvailableCapacityInfo({String id, num availableCapacity}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
StorageAvailableCapacityInfo({String id, num availableCapacity}) {
 if (id != null) this.id = id;
 if (availableCapacity != null) this.availableCapacity = availableCapacity;
}

new StorageAvailableCapacityInfo.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
StorageAvailableCapacityInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

num availableCapacity #

num get availableCapacity => jsProxy['availableCapacity'];
set availableCapacity(num value) => jsProxy['availableCapacity'] = jsify(value);

String id #

String get id => jsProxy['id'];
set id(String value) => jsProxy['id'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();