TextNode class abstract

Inheritance
Implemented types
Implementers

Constructors

TextNode({required String path, required String? comment, required String raw, required StringInterpolation interpolation, required CaseStyle? paramCase})

Properties

comment String?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
interpolation StringInterpolation
Several configs, persisted into node to make it easier to copy See updateWithLinkParams
final
Set of paths to TextNodes Will be used for 2nd round, determining the final set of parameters
no setter
paramCase CaseStyle?
final
params Set<String>
Set of parameters. Hello {name}, I am {age} years old -> {'name', 'age'}
no setter
paramTypeMap Map<String, String>
Plural and context parameters need to have a special parameter type (e.g. num) In a normal case, this parameter and its type will be added at generate stage
no setter
parent Node?
no setterinherited
path String
finalinherited
raw String
The original string
final
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
setParent(Node parent) → void
inherited
toString() String
A string representation of this object.
inherited
updateWithLinkParams({required Map<String, Set<String>> linkParamMap, required Map<String, String> paramTypeMap}) → void
Updates content, params and paramTypeMap according to the new linked parameters

Operators

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