copyWithWrapped method

Roles copyWithWrapped({
  1. Wrapped<Role>? role,
})

Implementation

Roles copyWithWrapped({Wrapped<Role>? role}) {
  return Roles(role: (role != null ? role.value : this.role));
}