Passkey.fromMap constructor
Implementation
Passkey.fromMap(Map<String, dynamic> map)
: id = map['id'],
friendlyName = map['friendlyName'] ?? map['friendly_name'],
createdAt = map['createdAt'] ?? map['created_at'],
credId = map['credId'] ?? map['cred_id'],
lastLoginAt = map['lastLoginAt'] ?? map['last_login_at'],
updatedAt = map['updatedAt'] ?? map['updated_at'],
userId = map['userId'] ?? map['user_id'],
usageCount = map['usageCount'] ?? map['usage_count'];