copyWith abstract method

T copyWith()

Creates a new instance of the class with updated properties. This method should return a new object with the desired changes applied.

Implementation

T copyWith();