Types class

Inheritance

Constructors

Types({int? id, int? anInt, bool? aBool, double? aDouble, DateTime? aDateTime, String? aString, ByteData? aByteData})
Types.fromSerialization(Map<String, dynamic> serialization)

Properties

aBool bool?
getter/setter pair
aByteData ByteData?
getter/setter pair
aDateTime DateTime?
getter/setter pair
aDouble double?
getter/setter pair
anInt int?
getter/setter pair
aString String?
getter/setter pair
className String
no setter
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allToJson() → dynamic
Returns a serialized JSON structure of the entity which also includes fields used by the database.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, dynamic>
toJson() → dynamic
Returns a serialized JSON structure of the entity, ready to be sent through the API. This does not include fields that are marked as database only.
inherited
toString() String
A string representation of this object.
inherited

Operators

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