toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'protocol': protocol.toJson(),
'transport': transport.toJson(),
if (ctap2Version != null) 'ctap2Version': ctap2Version!.toJson(),
if (hasResidentKey != null) 'hasResidentKey': hasResidentKey,
if (hasUserVerification != null)
'hasUserVerification': hasUserVerification,
if (hasLargeBlob != null) 'hasLargeBlob': hasLargeBlob,
if (hasCredBlob != null) 'hasCredBlob': hasCredBlob,
if (hasMinPinLength != null) 'hasMinPinLength': hasMinPinLength,
if (hasPrf != null) 'hasPrf': hasPrf,
if (automaticPresenceSimulation != null)
'automaticPresenceSimulation': automaticPresenceSimulation,
if (isUserVerified != null) 'isUserVerified': isUserVerified,
};
}