UserSchema constructor

UserSchema({
  1. String? id,
  2. Details? details,
  3. String? type,
  4. State? state,
  5. int? revision,
  6. Struct? schema,
  7. Iterable<AuthenticatorType>? possibleAuthenticators,
})

Implementation

factory UserSchema({
  $core.String? id,
  $1.Details? details,
  $core.String? type,
  State? state,
  $core.int? revision,
  $2.Struct? schema,
  $core.Iterable<AuthenticatorType>? possibleAuthenticators,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (details != null) {
    $result.details = details;
  }
  if (type != null) {
    $result.type = type;
  }
  if (state != null) {
    $result.state = state;
  }
  if (revision != null) {
    $result.revision = revision;
  }
  if (schema != null) {
    $result.schema = schema;
  }
  if (possibleAuthenticators != null) {
    $result.possibleAuthenticators.addAll(possibleAuthenticators);
  }
  return $result;
}