copyWith method

BaseModel copyWith({
  1. int? id,
})

Implementation

BaseModel copyWith({int? id}) {
  this.id = id;
  return this;
}