JsonFileSource class
A native UTF-8 JSON-object file loaded on demand.
- Implemented types
Constructors
- JsonFileSource(String path, {bool optional = false})
-
Resolves
pathto an absolute path at construction.
Properties
Methods
-
load(
) → Future< Map< String, Object?> > -
Loads this source; later registered sources override earlier ones.
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