patchData abstract method
A virtual method that applies a set of updatedFields
on existing data
.
This should return a copy of data
, with all fields that appear in
updatedFields
updated to the respective value. Any fields that do not
appear in updatedFields
should stay unchanged.
Implementation
@override
T patchData(T data, Map<String, dynamic> updatedFields);