PluginArray class

Used to store a list of Plugin objects describing the available plugins; it's returned by the window.navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins2), as well as via item(index) and namedItem("name") methods.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

PluginArray()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
item Plugin? Function(num)

Available on PluginArray, provided by the PluginArray$Typings extension

getter/setter pair
length num

Available on PluginArray, provided by the PluginArray$Typings extension

no setter
namedItem Plugin? Function(String)

Available on PluginArray, provided by the PluginArray$Typings extension

getter/setter pair
refresh ↔ void Function()

Available on PluginArray, provided by the PluginArray$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](num index) Plugin

Available on PluginArray, provided by the PluginArray$Typings extension

operator []=(num index, Plugin value) → void

Available on PluginArray, provided by the PluginArray$Typings extension