YamlCodec class

Constructors

YamlCodec()
const

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String? input, {bool normalize = false}) → dynamic
Parses the given string as either JSON or YAML. If null is passed in, null will be returned. If the passed in string can neither be decoded via JSON nor YAML an exception will be thrown.
toString() String
A string representation of this object.
inherited
tryParse(String? input) → dynamic
Parses the given string as either JSON or YAML. If null is passed in, null will be returned. If the passed in string can neither be decoded via JSON nor YAML an event will be logged and null will be returned.

Operators

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