Ignore class

Ignore

Annotation for Cached package.

Annotation that must be above a field in a method Arguments with @ignore annotations will be ignored while generating cache key

Example

Use @ignore annotation

@cached
Future<int> getInt(@ignore String param) {
  return Future.value(1);
}
Annotations
  • @Target({TargetKind.parameter})

Constructors

Ignore()
Ignore
const

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