JsonDecodeStrategy class
Decode strategy for JSON files
- Inheritance
-
- Object
- BaseDecodeStrategy
- JsonDecodeStrategy
Constructors
Properties
- decodeFunction → dynamic
-
The method used to load the JSON file
no setteroverride
- fileExtension → String
-
The extension of a JSON file
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
String fileName, IFileContent fileContent) → Future< Map?> -
The method that do the loading
inherited
-
decodeContent(
String content) → Map? -
The method that return the decoded Map
inherited
-
loadFileContent(
String fileName, IFileContent fileContent) → Future< String> -
The method that load the whole file content in memory
inherited
-
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