v1CreateAuthenticatorsIntentV2.fromJson constructor
Implementation
factory v1CreateAuthenticatorsIntentV2.fromJson(Map<String, dynamic> json) {
final _authenticators = (json['authenticators'] as List).map((e) => v1AuthenticatorParamsV2.fromJson(e as Map<String, dynamic>)).toList();
final _userId = json['userId'] as String;
return v1CreateAuthenticatorsIntentV2(
authenticators: _authenticators,
userId: _userId,
);
}