DataInsert<T> class

Implemented types

Constructors

DataInsert({required int position, required T data})
const

Properties

data → T
final
hashCode int
The hash code for this object.
no setteroverride
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 position, T oldData, T newData), 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