ContentIndex class

The interface of the Content Index API allows developers to register their offline enabled content with the browser.

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

ContentIndex()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(ContentDescription description) → Future<void>

Available on ContentIndex, provided by the PropsContentIndex extension

delete(String id) → Future<void>

Available on ContentIndex, provided by the PropsContentIndex extension

getAll() → Future<Iterable<ContentDescription>>

Available on ContentIndex, provided by the PropsContentIndex extension

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