ShortcodeTemplate class
ShortcodeTemplate is a single file inside templates/shortcodes
folder.
Shortcode template has a name which equals file name and a template
which is this file's content.
Constructors
- ShortcodeTemplate({required String name, required String template})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
{required CustomEnvironment environment, required Map< String, dynamic> values}) → String -
Render shortcode template using
values
with Jinja. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited