ResourceIdentifier class
Annotates a static method as referencing a native resource.
Applies to static functions, top-level functions, or extension methods.
During compilation, all statically resolved calls to an annotated function are registered, and information about the annotated functions, the calls, and their arguments, is then made available to post-compile steps.
- Annotations
Constructors
- ResourceIdentifier([Object? metadata])
-
Creates a ResourceIdentifier instance.
const
Properties
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