Dart Documentationchrome.sessionsFilter

Filter class

class Filter extends ChromeObject {
 Filter({int maxResults}) {
   if (maxResults != null) this.maxResults = maxResults;
 }
 Filter.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * The maximum number of entries to be fetched in the requested list. Omit
  * this parameter to fetch the maximum number of entries
  * ([MAX_SESSION_RESULTS]).
  */
 int get maxResults => jsProxy['maxResults'];
 set maxResults(int value) => jsProxy['maxResults'] = value;
}

Extends

ChromeObject > Filter

Constructors

new Filter({int maxResults}) #

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

docs inherited from ChromeObject
Filter({int maxResults}) {
 if (maxResults != null) this.maxResults = maxResults;
}

new Filter.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int maxResults #

The maximum number of entries to be fetched in the requested list. Omit this parameter to fetch the maximum number of entries ([MAX_SESSION_RESULTS]).

int get maxResults => jsProxy['maxResults'];
set maxResults(int value) => jsProxy['maxResults'] = 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();