PublicKeyCredentialDescriptor.fromJson constructor

PublicKeyCredentialDescriptor.fromJson(
  1. dynamic json
)

Implementation

factory PublicKeyCredentialDescriptor.fromJson(dynamic json) {
  return PublicKeyCredentialDescriptor(
    json['type'] as String,
    json['id'] as String,
  );
}