ImportMeta class

The type of import.meta.

If you need to declare that a given property exists on import.meta, this type may be augmented via interface merging. Deno provides extra properties on import.meta. These are included here to ensure that these are still available when using the Deno namespace in conjunction with other type libs, like dom.

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

Constructors

ImportMeta({String? url, bool? main, String resolve(String)?})
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

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