Role constructor

Role({
  1. String? key,
  2. ObjectDetails? details,
  3. String? displayName,
  4. 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;
}