Spec-Zone.ru › Dart 2

dart:convert

JsonCyclicError class

Reports that an object could not be stringified due to cyclic references.

An object that references itself cannot be serialized by JsonCodec.encode/JsonEncoder.convert. When the cycle is detected, a JsonCyclicError is thrown.

Inheritance
  • Object
  • Error
  • JsonUnsupportedObjectError
  • JsonCyclicError

Constructors

JsonCyclicError(Object? object)
The first object that was detected as part of a cycle.

Properties

cause → Object?
finalinherited
The exception thrown when trying to convert the object.
hashCode → int
read-onlyinherited
The hash code for this object.
partialResult → String?
finalinherited
The partial result of the conversion, up until the error happened.
runtimeType → Type
read-onlyinherited
A representation of the runtime type of the object.
stackTrace → StackTrace?
read-onlyinherited
The stack trace at the point where this error was first thrown.
unsupportedObject → Object?
finalinherited
The object that could not be serialized.

Methods

noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed.
toString() → String
override
A string representation of this object.

Operators

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

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-convert/JsonCyclicError-class.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API