RefreshToken constructor

RefreshToken({
  1. String? id,
  2. ObjectDetails? details,
  3. String? clientId,
  4. Timestamp? authTime,
  5. Timestamp? idleExpiration,
  6. Timestamp? expiration,
  7. Iterable<String>? scopes,
  8. Iterable<String>? audience,
})

Implementation

factory RefreshToken({
  $core.String? id,
  $8.ObjectDetails? details,
  $core.String? clientId,
  $6.Timestamp? authTime,
  $6.Timestamp? idleExpiration,
  $6.Timestamp? expiration,
  $core.Iterable<$core.String>? scopes,
  $core.Iterable<$core.String>? audience,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (details != null) {
    $result.details = details;
  }
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (authTime != null) {
    $result.authTime = authTime;
  }
  if (idleExpiration != null) {
    $result.idleExpiration = idleExpiration;
  }
  if (expiration != null) {
    $result.expiration = expiration;
  }
  if (scopes != null) {
    $result.scopes.addAll(scopes);
  }
  if (audience != null) {
    $result.audience.addAll(audience);
  }
  return $result;
}