Lock extension type

The Lock interface of the Web Locks API provides the name and mode of a lock. This may be a newly requested lock that is received in the callback to LockManager.request, or a record of an active or queued lock returned by LockManager.query.


API documentation sourced from MDN Web Docs.

on
Implemented types
Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
mode LockMode
The mode read-only property of the Lock interface returns the access mode passed to LockManager.request when the lock was requested. The mode is either "exclusive" (the default) or "shared".
no setter
name String
The name read-only property of the Lock interface returns the name passed to LockManager.request selected when the lock was requested.
no setter
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