Dart Documentationchrome.alarmsAlarmCreateInfo

AlarmCreateInfo class

todo(mpcomplete): rename to CreateInfo when http://crbug.com/123073 is fixed.

class AlarmCreateInfo extends ChromeObject {
 AlarmCreateInfo({num when, num delayInMinutes, num periodInMinutes}) {
   if (when != null) this.when = when;
   if (delayInMinutes != null) this.delayInMinutes = delayInMinutes;
   if (periodInMinutes != null) this.periodInMinutes = periodInMinutes;
 }
 AlarmCreateInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

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

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

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

Extends

ChromeObject > AlarmCreateInfo

Constructors

new AlarmCreateInfo({num when, num delayInMinutes, num periodInMinutes}) #

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

docs inherited from ChromeObject
AlarmCreateInfo({num when, num delayInMinutes, num periodInMinutes}) {
 if (when != null) this.when = when;
 if (delayInMinutes != null) this.delayInMinutes = delayInMinutes;
 if (periodInMinutes != null) this.periodInMinutes = periodInMinutes;
}

new AlarmCreateInfo.fromProxy(JsObject jsProxy) #

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

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

Properties

num delayInMinutes #

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

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

num periodInMinutes #

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

num when #

num get when => jsProxy['when'];
set when(num value) => jsProxy['when'] = jsify(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();