TemplateInjection class
A class containing the name and contents associated with a code block inside of a code sample, for named injection into a template.
Constructors
-
TemplateInjection(String name, List<
SourceLine> contents, {String language = ''})
Properties
-
contents
→ List<
SourceLine> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String
-
final
- mergedContent → String
-
no setter
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stringContents
→ Iterable<
String> -
no setter
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