ResourceIdentifier class

Annotate a static method for collection.

During compilation, all calls to static methods annotated with ResourceIdentifier are stored with the calling arguments, as far as they can be resolved at compile time. This information is then made available to post-compile steps.

Annotations

Constructors

ResourceIdentifier([Object? metadata])
Initialize a newly created ResourceIdentifier instance to be used as an annotation with the given metadata identifier.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata Object?
An identifier which can be used when retrieving the stored calls.
final
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