TransferObject class

Transfer object class annotation.

package:datahub_codegen TransferBeanGenerator will generate a bean for all classes that are annotated with this.

Classes annotated with TransferObject must be immutable PODO objects that extend _TransferObject which is generated individually.

TransferObjects can have fields of type String, int, double, bool, Uint8List, Map and List or any Enum. Map and List element types are also restricted to those types.

Inheritance

Constructors

TransferObject()
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