JsonType class abstract

Basic interface that all types must have. All other json types implement this.

You can use this class to create yout own type.

It need to be able to be setted from json and converted to json

Implementers

Constructors

JsonType()

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
setFromJson(dynamic json) bool
Convert any given json to correspondig types and store it. If fails, it returns false.
toJson() → dynamic
Convert object to json compatible types
toString() String
A string representation of this object.
inherited

Operators

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