copyWith abstract method

Modelable copyWith({
  1. String? id,
  2. String? userId,
  3. bool? invalid = false,
})

Copies an instance with the possibility of overriding certain fields.

Implementation

Modelable copyWith({String? id, String? userId, bool? invalid = false});