AFSourceTemplateInsertions class

A mapping of AFSourceTemplateInsertion to values which should be inserted.

The values can be strings, source templates, or code buffers.

Annotations

Constructors

AFSourceTemplateInsertions({required Map<AFSourceTemplateInsertion, Object> insertions})
const
AFSourceTemplateInsertions.createCore({required String packagePath})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
insertions Map<AFSourceTemplateInsertion, Object>
final
isEmpty bool
no setter
isNotEmpty bool
no setter
keys Iterable<AFSourceTemplateInsertion>
no setter
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
reviseAugment(Map<AFSourceTemplateInsertion, Object> added) AFSourceTemplateInsertions
reviseOverwrite(Map<AFSourceTemplateInsertion, Object> added) AFSourceTemplateInsertions
toString() String
A string representation of this object.
inherited
valueFor(AFSourceTemplateInsertion key) Object?

Operators

operator ==(Object other) bool
The equality operator.
inherited