TomlUnknownValueTypeException class

An error which is thrown when an object cannot be encoded as a value.

Example:

var encoder = new TomlEncoder();
encoder.encode({'a': null});

throws an TomlUnknownValueTypeException because null is not a valid TOML value.

Inheritance
Annotations
  • @immutable

Constructors

TomlUnknownValueTypeException(dynamic value)
Creates a new exception for the given value.

Properties

hashCode int
The hash code for this object.
no setteroverride
message String
A human readable description of the error.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
The object which cannot be encoded as a TOML value.
final

Methods

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.
override