DurableObject class

Available extensions
Annotations
  • @anonymous
  • @JS()
  • @staticInterop

Constructors

DurableObject()
factory

Properties

alarm ↔ Promise<void> Function()

Available on DurableObject, provided by the PropsDurableObject extension

getter/setter pair
env Environment

Available on DurableObject, provided by the PropsDurableObject extension

getter/setter pair
fetch ↔ Promise<Response> Function(Request request)

Available on DurableObject, provided by the PropsDurableObject extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
init Function

Available on DurableObject, provided by the PropsDurableObject extension

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

Available on DurableObject, provided by the PropsDurableObject extension

getter/setter pair

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