BaseDecodeStrategy class abstract

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
no setter
fileExtension String
The extension of the file to decode
no setter
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
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 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