decode static method

CreatePasskeyResponse decode(
  1. Object result
)

Implementation

static CreatePasskeyResponse decode(Object result) {
  result as List<Object?>;
  return CreatePasskeyResponse(
    clientDataJSON: result[0]! as String,
    attestationObject: result[1]! as String,
    transports: (result[2] as List<Object?>?)?.cast<String?>(),
    authenticatorData: result[3] as String?,
    publicKeyAlgorithm: result[4] as int?,
    publicKey: result[5] as String?,
  );
}