selfprivacy.org.app/lib/logic/models/json/recovery_token_status.g.dart
NaiJi 129c1bb4c6 Refactor infrastructure
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
2022-05-14 05:54:40 +03:00

20 lines
710 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'recovery_token_status.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
RecoveryTokenStatus _$RecoveryTokenStatusFromJson(Map<String, dynamic> json) =>
RecoveryTokenStatus(
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),
uses_left: json['uses_left'] as int?,
);