addEntry method

Future<void> addEntry(
  1. AddEntryOptions entry
)

Adds an entry to the reading list if it does not exist. |entry|: The entry to add to the reading list. |Returns|: Resolves once the entry has been added.

Implementation

Future<void> addEntry(AddEntryOptions entry) async {
  await $js.chrome.readingList.addEntry(entry.toJS).toDart;
}