export class OptionalMetadata
export class OptionalMetadata
exported from angular2/core defined in angular2/src/core/di/metadata.ts (line 47)
A parameter metadata that marks a dependency as optional. Injector
provides null
if
the dependency is not found.
Example (live demo)
Members
toString() : string
toString() : string
Not Yet Documented