ShortcodeRenderer class Null safety

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. [...]
read-only, inherited
parser ShortcodeParser
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shortcodeTemplates List<ShortcodeTemplate>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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