2022-05-09 23:16:36 +00:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'recovery_token_status.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
2022-05-24 16:09:47 +00:00
|
|
|
RecoveryKeyStatus _$RecoveryKeyStatusFromJson(Map<String, dynamic> json) =>
|
|
|
|
RecoveryKeyStatus(
|
2022-05-09 23:16:36 +00:00
|
|
|
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),
|
2022-05-24 16:09:47 +00:00
|
|
|
usesLeft: json['uses_left'] as int?,
|
2022-05-09 23:16:36 +00:00
|
|
|
);
|