ClonableEx<T> class
abstract
The ClonableEx class used to clone and serialize future objects and using an optional external parameter.
- Mixed in types
- Implementers
Constructors
Properties
-
fields
→ CloneFields<
CloneField> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonClassCode → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
afterDecodeEx(
Map< String, dynamic> json, [dynamic exParam]) → void -
Raised after this object fields are set with the
json
mapinherited -
afterEncodeEx(
Map< String, dynamic> json, [dynamic exParam]) → void -
Raised after the
json
map is filled with the object fieldsinherited -
beforeDecodeEx(
Map< String, dynamic> json, [dynamic exParam]) → void -
Raised before this object fields are set with the
json
mapinherited -
beforeEncodeEx(
Map< String, dynamic> json, [dynamic exParam]) → void -
Raised before the
json
map is filled with the object fieldsinherited -
clone(
{bool deep = false}) → T -
Creates an
obj
clone.inherited -
cloneEx(
ClonableEx obj, {dynamic exParam, bool deep = false}) → T -
Creates an
obj
clone.inherited -
createEx(
Map< String, dynamic> json, [dynamic exParam]) → T -
Creates an empty object.
json
map is provided in case of 'final' fields needed within the class constructor. In that case the CloneField definition might have an empty setterinherited -
fromJson(
dynamic json, [dynamic exParam]) → T? -
inherited
-
fromJsonEx(
dynamic json, [dynamic exParam]) → T? -
inherited
-
getMap(
Map json) → void -
Gets the
json
map values for this instance.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
ClonableBaseInterface< T> obj, {bool deep = false}) → void -
Sets this object as a copy of
obj
inherited -
setMap(
Map json, {bool deep = false}) → void -
Sets the
json
map values for this instance.inherited -
toJson(
) → dynamic -
inherited
-
toJsonEx(
[dynamic exParam]) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited