Transportable class

Denotes the class can be sent over the network. shorebird generate will generate ClassInfo

shorebird generate does not yet know how to generate toJson/fromJson methods (but hopefully it will soon), so you will need to implement those yourself or use json_serializable to do so.

Constructors

Transportable()
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
toString() String
A string representation of this object.
inherited

Operators

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