BaseDecodeStrategy class Null safety

Base decode strategy to convert a text file to a Map

Implementers

Constructors

BaseDecodeStrategy()

Properties

decodeFunction → dynamic
The method used to load the text file to a Map
read-only
fileExtension String
The extension of the file to decode
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

decode(String fileName, IFileContent fileContent) Future<Map?>
The method that do the loading
decodeContent(String content) Map?
The method that return the decoded Map
loadFileContent(String fileName, IFileContent fileContent) Future<String>
The method that load the whole file content in memory
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited