Stubble class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- helperCount → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compile(
String? template) → Function - returns a compiler function that starts StubbleMachine with given template on call
-
dropHelpers(
) → bool - removes all helpers from Stubble
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerHelper(
String name, dynamic helper(List, Function?)) → bool - registers a helper function that can be used in templates. All helpers are available across the all template
-
removeHelper(
String name) → bool - removes a helper function with a given name
-
setOption(
String name, dynamic value) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited