v1WebAuthnStamp.fromJson constructor

v1WebAuthnStamp.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory v1WebAuthnStamp.fromJson(Map<String, dynamic> json) {
  final _credentialId = json['credentialId'] as String;
  final _clientDataJson = json['clientDataJson'] as String;
  final _authenticatorData = json['authenticatorData'] as String;
  final _signature = json['signature'] as String;
  return v1WebAuthnStamp(
    credentialId: _credentialId,
    clientDataJson: _clientDataJson,
    authenticatorData: _authenticatorData,
    signature: _signature,
  );
}