UnsupportedSchemaException class final
Thrown when JSON this package decodes is not of kSchemaVersion: its
schema is another number, or it has none. message names the schema
found and the one this package reads.
- Implemented types
Constructors
- UnsupportedSchemaException(Object? schema, {String what = 'The document'})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A message describing the format error.
no setteroverride
- offset → int?
-
The offset in source where the error was detected.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → Object?
-
The
schemathe JSON has: null when it has none.final - source → Object?
-
The actual source input which caused the error.
no setteroverride
- what → String
-
What was being read, as the message starts:
The document,The publish model.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited