JsonSerializable class

JsonSerializable is used as metadata, marking classes as serialization / deserialization capable targets

Inheritance

Constructors

JsonSerializable()
const

Properties

annotatedClasses Iterable<ClassMirror>
Returns an Iterable of all the classes that can be reflected over in this Reflectable.
read-only, inherited
capabilities List<ReflectCapability>
Specifies limits on the support for reflective operations on instances of classes having an instance of this ReflectableBase as metadata.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
libraries Map<Uri, LibraryMirror>
Returns a map of all libraries in the current isolate.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

canReflect(Object reflectee) bool
Returns true if this reflector has capabilities for the given instance.
inherited
canReflectType(Type type) bool
Returns true if this reflector has capabilities for the given Type.
inherited
findLibrary(String libraryName) LibraryMirror
Returns a mirror of the given library library.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
reflect(Object reflectee) InstanceMirror
Returns a mirror of the given object reflectee. [...]
inherited
reflectType(Type type) TypeMirror
Returns a mirror of the given type type. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited