copyWith method
Implementation
ImperativeState<T> copyWith({String? id, T? state}) {
return ImperativeState(
id: id ?? this.id,
value: state ?? this.value,
);
}
ImperativeState<T> copyWith({String? id, T? state}) {
return ImperativeState(
id: id ?? this.id,
value: state ?? this.value,
);
}