PublicKeyCredentialDescriptor constructor

PublicKeyCredentialDescriptor({
  1. Object? id,
  2. List<AuthenticatorTransport>? transports,
  3. PublicKeyCredentialType? type,
})

Implementation

factory PublicKeyCredentialDescriptor({
  _i2.Object? id,
  _i2.List<_i3.AuthenticatorTransport>? transports,
  _i3.PublicKeyCredentialType? type,
}) =>
    PublicKeyCredentialDescriptor._(
      id: id ?? _i6.undefined,
      transports: transports?.map((i) => i.name).toList(),
      type: type,
    );