copyWith method

GroupBean copyWith({
  1. String? name,
  2. String? self,
})

Implementation

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