Dart Documentationangular.coreDirectiveMap

DirectiveMap class

class DirectiveMap extends AnnotationMap<NgAnnotation> {
 DirectiveMap(Injector injector, MetadataExtractor metadataExtractor)
     : super(injector, metadataExtractor);
}

Extends

AnnotationMap<NgAnnotation> > DirectiveMap

Constructors

new DirectiveMap(Injector injector, MetadataExtractor metadataExtractor) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
DirectiveMap(Injector injector, MetadataExtractor metadataExtractor)
   : super(injector, metadataExtractor);

Operators

Type operator [](K annotation) #

inherited from AnnotationMap
Type operator[](K annotation) {
 var value = _map[annotation];
 if (value == null) {
   throw 'No $annotation found!';
 }
 return value;
}

Methods

dynamic forEach(fn(K, Type)) #

inherited from AnnotationMap
forEach(fn(K, Type)) => _map.forEach(fn);