Dart Documentationchrome.downloadsStringDelta

StringDelta class

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

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

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

Extends

ChromeObject > StringDelta

Constructors

new StringDelta({String previous, String current}) #

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

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

new StringDelta.fromProxy(JsObject jsProxy) #

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

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

Properties

String current #

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

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String previous #

String get previous => jsProxy['previous'];
set previous(String 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();