YamlUtils<T> class
yaml 读取工具类
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadStringFromYaml(
String yamlFilePath) → String -
loadYamlDocumentFromFile(
String yamlFilePath, {dynamic sourceUrl}) → YamlDocument - 从文件中读取yaml, 转换为yamlDocument
-
loadYamlMapFromFile(
String yamlFilePath, {dynamic sourceUrl}) → YamlMap - 从文件中读取yaml,转换为yamlMap
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseYamlFileToClass(
String yaml, T constructor(Map?)) → T - 解析 yaml 文件 映射到实体对象
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited