copyWith method
Returns a new copy of the BaseModel with the fields updated from the
other BaseModel.
Implementation
@override
GenerateScreenBindings copyWith(BaseModel? other) {
final a = this.toJson();
final b = other?.toJson();
final c = {...a, ...?b};
return GenerateScreenBindings.fromJson(c);
}