Role constructor
Role({
- String? key,
- ObjectDetails? details,
- String? displayName,
- String? group,
Implementation
factory Role({
$core.String? key,
$8.ObjectDetails? details,
$core.String? displayName,
$core.String? group,
}) {
final $result = create();
if (key != null) {
$result.key = key;
}
if (details != null) {
$result.details = details;
}
if (displayName != null) {
$result.displayName = displayName;
}
if (group != null) {
$result.group = group;
}
return $result;
}