DataChange<T> class

Implemented types

Constructors

DataChange({required int position, required T oldData, required T newData})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
newData → T
final
oldData → T
final
position int
final
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.
override
when<S>({required S insert(int p1, T p2), required S remove(int p1, T p2), required S change(int p1, T p2, T p3), required S move(int p1, int p2, T data)}) → S
call one of the given callback functions depending on the type of this object.
override

Operators

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