jinja library Null safety

Classes

Environment
The core component of Jinja 2 is the Environment. It contains important shared variables like configuration, filters, tests and others. Instances of this class may be modified if they are not shared and if no template was loaded so far.
FileSystemLoader
Loads templates from the file system. This loader can find templates in folders on the file system and is the preferred way to load them:
Loader
Base abstract class for all loaders. Subclass this and override getSource, listSources and load to implement a custom loading mechanism.
MapLoader
Loads a template from a map. It's passed a map of strings bound to template names. This loader is useful for testing:
Template
The central Template object. This class represents a compiled template and is used to evaluate it.

Functions

defaultFieldGetter(Object? object, String field) Object?
defaultFinalizer(Object? value) Object
defaultItemGetter(Object? object, Object? key) Object?

Typedefs

FieldGetter = Object? Function(Object? object, String field)
Finalizer = Object Function(Object? value)
ItemGetter = Object? Function(Object? object, Object? key)