22 lines
779 B
Dart
22 lines
779 B
Dart
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'token.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
Token _$TokenFromJson(Map<String, dynamic> json) => Token(
|
||
|
userId: json['user_id'] as int,
|
||
|
familyId: json['family_id'] as int,
|
||
|
generatedAt: dateFromJson(json['generated_at'] as int),
|
||
|
expiresAt: dateFromJson(json['expires_at'] as int),
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$TokenToJson(Token instance) => <String, dynamic>{
|
||
|
'family_id': instance.familyId,
|
||
|
'user_id': instance.userId,
|
||
|
'generated_at': dateToJson(instance.generatedAt),
|
||
|
'expires_at': dateToJson(instance.expiresAt),
|
||
|
};
|