XmlDecodeStrategy class

Decode strategy for XML files

Inheritance

Constructors

XmlDecodeStrategy({String rootObject = "root"})

Properties

decodeFunction → dynamic
The method used to load the XML file
no setteroverride
fileExtension String
The extension of an XML file
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
rootObject String
final
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
override
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