Finject class

Annotate parameters to be auto-injected. Users should not use this annotation directly. Instead, generator will use this annotation internally.

Annotations
  • @Target({TargetKind.parameter})

Constructors

Finject(dynamic from, bool autoInjectable)
const

Properties

autoInjectable bool
Internal use only for generator. If true, the parameter will be auto-injected. If false, the parameter needs to be injected manually.
final
from → dynamic
If a constructor parameter is derived from a selector, annotate the selector with Fselector and give the selector's name to from.
final
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