v1OtpAuthResult.fromJson constructor
Implementation
factory v1OtpAuthResult.fromJson(Map<String, dynamic> json) {
final _userId = json['userId'] as String;
final _apiKeyId = json['apiKeyId'] as String?;
final _credentialBundle = json['credentialBundle'] as String?;
return v1OtpAuthResult(
userId: _userId,
apiKeyId: _apiKeyId,
credentialBundle: _credentialBundle,
);
}