Constant<T> class
A Constant is a value that does not change value over time.
The TemplateEngine comes with several mathematical constants.
- Implemented types
Constructors
- Constant.new({required String name, required String description, ProjectFilePath? codeExample, required T value})
Properties
- codeExample → ProjectFilePath?
-
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
See IdentifierName
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
final
Methods
-
createMarkdownDocumentation(
RenderContext renderContext, int titleLevel) → List< String> -
override
-
createMarkdownExamples(
RenderContext renderContext, int titleLevel) → List< String> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited