DiffLogEntry class
- Inheritance
-
- Object
- MModel
- DiffLogEntryBase
- DiffLogEntry
Constructors
-
DiffLogEntry(Map<
String, dynamic> wrapped, {MSchemaRef mtype = DiffLogEntryRef, bool update = true}) - DiffLogEntry.fromJson(dynamic wrapped)
-
factory
-
DiffLogEntry.of({List<
Change> ? changes})
Properties
-
changes
↔ List<
Change> ? -
Property getter and setter for changes:
getter/setter pairoverride
- diffHashCode → int
-
no setterinherited
- diffKey → dynamic
-
For
Diffable
no setterinherited - diffSource → dynamic
-
For
Diffable
no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
-
ignoredPaths
→ Set<
JsonPath> -
no setterinherited
-
mfields
→ Set<
String> -
no setterinherited
- mkey → MKey?
-
no setterinherited
- mkeyOrNull → MKey?
-
no setterinherited
- mtype → MSchemaRef
-
no setterinherited
- recordKey → RecordKey?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
wrapped
→ Map<
String, dynamic> -
finalinherited
Methods
-
call<
T> (dynamic key) → T? -
inherited
-
clone(
) → DiffLogEntry -
inherited
-
diffEquals(
dynamic other) → bool -
inherited
-
diffIdentical(
dynamic other) → bool -
inherited
-
get(
String name) → dynamic -
inherited
-
getByPath<
T> (JsonPath path) → T -
inherited
-
has(
String fieldName) → bool -
inherited
-
jpath<
T> (JsonPath< T> path, [T? value]) → T? -
inherited
-
modified(
) → dynamic -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prune(
Set< String> fields) → void -
inherited
-
setByPath<
T> (JsonPath< T> path, T? value) → dynamic -
inherited
-
sync(
[Set< String> ? fields]) → void -
There are some weird cases where collections aren't synced properly with the underlying json. This will
overwrite the json with the latest value of the variable.
inherited
-
takeFrom(
dynamic source) → void -
inherited
-
takeFromMap(
Map< String, dynamic> ? from, {bool copyEntries = true}) → void -
Used for meta-forms in setting deep properties
inherited
-
toJson(
) → dynamic -
inherited
-
toMap(
) → Map< String, dynamic> -
For RouteParams - move at some point?
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
dynamic key) → dynamic -
inherited
-
operator []=(
String key, dynamic value) → void -
inherited