copyWith method

GroupName copyWith({
  1. String? groupId,
  2. String? name,
  3. String? self,
})

Implementation

GroupName copyWith({String? groupId, String? name, String? self}) {
  return GroupName(
    groupId: groupId ?? this.groupId,
    name: name ?? this.name,
    self: self ?? this.self,
  );
}