GenerateDisposableTokenRequest_ constructor

GenerateDisposableTokenRequest_({
  1. GenerateDisposableTokenRequest__Expires? expires,
  2. String? authToken,
  3. Permissions? permissions,
  4. String? tokenId,
})

Implementation

factory GenerateDisposableTokenRequest_({
  GenerateDisposableTokenRequest__Expires? expires,
  $core.String? authToken,
  $9.Permissions? permissions,
  $core.String? tokenId,
}) {
  final $result = create();
  if (expires != null) {
    $result.expires = expires;
  }
  if (authToken != null) {
    $result.authToken = authToken;
  }
  if (permissions != null) {
    $result.permissions = permissions;
  }
  if (tokenId != null) {
    $result.tokenId = tokenId;
  }
  return $result;
}