copyWith method

Roles copyWith({
  1. Role? role,
})

Implementation

Roles copyWith({Role? role}) {
  return Roles(role: role ?? this.role);
}