mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 22:29:15 +00:00
NaiJi
31be961dd0
get /auth/recovery_token post /auth/recovery_token post /auth/recovery_token/use post /auth/new_device/authorize post /auth/new_device delete /auth/new_device get /auth/tokens post /auth/tokens delete /auth/tokens
20 lines
710 B
Dart
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?,
|
|
);
|