Dart Documentationchrome.downloadsLongDelta

LongDelta class

class LongDelta extends ChromeObject {
 LongDelta({int previous, int current}) {
   if (previous != null) this.previous = previous;
   if (current != null) this.current = current;
 }
 LongDelta.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 int get previous => jsProxy['previous'];
 set previous(int value) => jsProxy['previous'] = value;

 int get current => jsProxy['current'];
 set current(int value) => jsProxy['current'] = value;
}

Extends

ChromeObject > LongDelta

Constructors

new LongDelta({int previous, int current}) #

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

docs inherited from ChromeObject
LongDelta({int previous, int current}) {
 if (previous != null) this.previous = previous;
 if (current != null) this.current = current;
}

new LongDelta.fromProxy(JsObject jsProxy) #

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

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

Properties

int current #

int get current => jsProxy['current'];
set current(int value) => jsProxy['current'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int previous #

int get previous => jsProxy['previous'];
set previous(int value) => jsProxy['previous'] = value;

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();