PatchSet<T> class abstract

An interface for patchsets that can be applied to an instance of T

Patchsets are generated by the library if the server sents patch events. They contain the patch information and can be applied to an instance of T to copy the instance and return a modified version with the patch applied.

Annotations
  • @immutable

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(T value) → T
Applies the patch to the given value and returns the patched copy of it.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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