NotificationItem class
class NotificationItem extends ChromeObject {
NotificationItem({String title, String message}) {
if (title != null) this.title = title;
if (message != null) this.message = message;
}
NotificationItem.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
String get title => jsProxy['title'];
set title(String value) => jsProxy['title'] = value;
String get message => jsProxy['message'];
set message(String value) => jsProxy['message'] = value;
}
Extends
ChromeObject > NotificationItem
Constructors
new NotificationItem({String title, String message}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
NotificationItem({String title, String message}) {
if (title != null) this.title = title;
if (message != null) this.message = message;
}
new NotificationItem.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
NotificationItem.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
String message #
String get message => jsProxy['message'];
set message(String value) => jsProxy['message'] = value;
String title #
String get title => jsProxy['title'];
set title(String value) => jsProxy['title'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();