selfprivacy.org.app/lib/logic/models/json/recovery_token_status.g.dart
2022-05-24 19:11:51 +03:00

20 lines
703 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'recovery_token_status.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
RecoveryKeyStatus _$RecoveryKeyStatusFromJson(Map<String, dynamic> json) =>
RecoveryKeyStatus(
exists: json['exists'] as bool,
valid: json['valid'] as bool,
date:
json['date'] == null ? null : DateTime.parse(json['date'] as String),
expiration: json['expiration'] == null
? null
: DateTime.parse(json['expiration'] as String),
usesLeft: json['uses_left'] as int?,
);