TDeleteAuthenticatorsBody.fromJson constructor

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

Implementation

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