selfprivacy.org.app/lib/logic/models/api_token.g.dart
NaiJi 31be961dd0 Implement server endpoints for tokens
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
2022-05-10 02:16:36 +03:00

14 lines
463 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'api_token.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
ApiToken _$ApiTokenFromJson(Map<String, dynamic> json) => ApiToken(
name: json['name'] as String,
date: DateTime.parse(json['date'] as String),
is_caller: json['is_caller'] as bool,
);