ObjectWithObject class
- Inheritance
-
- Object
- SerializableEntity
- ObjectWithObject
Constructors
-
ObjectWithObject({int? id, required SimpleData data, SimpleData? nullableData, required List<
SimpleData> dataList, List<SimpleData> ? nullableDataList, required List<SimpleData?> listWithNullableData, List<SimpleData?> ? nullableListWithNullableData}) -
ObjectWithObject.fromSerialization(Map<
String, dynamic> serialization)
Properties
- className → String
-
no setter
- data ↔ SimpleData
-
getter/setter pair
-
dataList
↔ List<
SimpleData> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
-
listWithNullableData
↔ List<
SimpleData?> -
getter/setter pair
- nullableData ↔ SimpleData?
-
getter/setter pair
-
nullableDataList
↔ List<
SimpleData> ? -
getter/setter pair
-
nullableListWithNullableData
↔ List<
SimpleData?> ? -
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