MachineUser constructor

MachineUser({
  1. String? name,
  2. String? description,
  3. bool? hasSecret,
  4. AccessTokenType? accessTokenType,
})

Implementation

factory MachineUser({
  $core.String? name,
  $core.String? description,
  $core.bool? hasSecret,
  AccessTokenType? accessTokenType,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (description != null) {
    $result.description = description;
  }
  if (hasSecret != null) {
    $result.hasSecret = hasSecret;
  }
  if (accessTokenType != null) {
    $result.accessTokenType = accessTokenType;
  }
  return $result;
}