copyWith abstract method

Modelable copyWith({
  1. String? id,
  2. String? userId,
})

Copies an instance with the possibility of overriding certain fields.

Implementation

Modelable copyWith({String? id, String? userId});