copyWith method

CreateUpdateRoleRequestBean copyWith({
  1. String? description,
  2. String? name,
})

Implementation

CreateUpdateRoleRequestBean copyWith({String? description, String? name}) {
  return CreateUpdateRoleRequestBean(
    description: description ?? this.description,
    name: name ?? this.name,
  );
}