ShortcodeRenderer class
Replace every shortcode inside text file with its value.
To render an input
call ShortcodeRenderer.render method.
Constructors
-
ShortcodeRenderer({required CustomEnvironment environment, required List<
ShortcodeTemplate> shortcodeTemplates})
Properties
- environment → CustomEnvironment
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- parser → ShortcodeParser
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shortcodeTemplates
→ List<
ShortcodeTemplate> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
String input) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited