PublicKeyCredentialDescriptor constructor

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

Implementation

PublicKeyCredentialDescriptor({this.type, this.id, this.transports}) {
  _transportValues = <String>[];
  if (transports != null && transports!.isNotEmpty) {
    for (AuthenticatorTransport element in transports!) {
      _transportValues!.add(describeEnum(element));
    }
  }
}