copyWith method

  1. @override
TStoreChanges copyWith({
  1. TStoreChangeType? type,
  2. dynamic value,
  3. String? key,
})
override

Copy this object with the given parameters.

Implementation

@override
TStoreChanges copyWith({
  TStoreChangeType? type,
  dynamic value,
  String? key,
}) {
  return TStoreChanges(
    value: value ?? this.value,
    type: type ?? this.type,
    key: key ?? this.key,
  );
}