HasToJson<T extends Object> class abstract

Marker interface that define that a pojo can be converted to json.

https://en.wikipedia.org/wiki/Marker_interface_pattern

Constructors

HasToJson()
Const constructor to allow child to define their const constructor and be used in const expressions.
const

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
toJson() → T
Convert the pojo to a valid json representation.
toString() String
A string representation of this object.
inherited

Operators

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