InputImeSetMenuItemsParams class
class InputImeSetMenuItemsParams extends ChromeObject { InputImeSetMenuItemsParams({String engineID, List<MenuItem> items}) { if (engineID != null) this.engineID = engineID; if (items != null) this.items = items; } InputImeSetMenuItemsParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); /** * ID of the engine to use */ String get engineID => jsProxy['engineID']; set engineID(String value) => jsProxy['engineID'] = value; /** * MenuItems to add. They will be added in the order they exist in the array. */ List<MenuItem> get items => listify(jsProxy['items'], _createMenuItem); set items(List<MenuItem> value) => jsProxy['items'] = jsify(value); }
Extends
ChromeObject > InputImeSetMenuItemsParams
Constructors
new InputImeSetMenuItemsParams({String engineID, List<MenuItem> items}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
InputImeSetMenuItemsParams({String engineID, List<MenuItem> items}) { if (engineID != null) this.engineID = engineID; if (items != null) this.items = items; }
new InputImeSetMenuItemsParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
InputImeSetMenuItemsParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
String engineID #
ID of the engine to use
String get engineID => jsProxy['engineID'];
set engineID(String value) => jsProxy['engineID'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();