copyWith method

Division copyWith({
  1. String? id,
  2. String? name,
})

Implementation

Division copyWith({  String? id,
  String? name,
}) => Division(  id: id ?? this.id,
  name: name ?? this.name,
);