v1DeleteAuthenticatorsIntent.fromJson constructor

v1DeleteAuthenticatorsIntent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory v1DeleteAuthenticatorsIntent.fromJson(Map<String, dynamic> json) {
  final _userId = json['userId'] as String;
  final _authenticatorIds = (json['authenticatorIds'] as List).map((e) => e as String).toList();
  return v1DeleteAuthenticatorsIntent(
    userId: _userId,
    authenticatorIds: _authenticatorIds,
  );
}