selfprivacy.org.app/lib/logic/models/json/device_token.dart
2022-06-10 00:13:06 +03:00

17 lines
348 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'device_token.g.dart';
@JsonSerializable()
class DeviceToken {
factory DeviceToken.fromJson(final Map<String, dynamic> json) =>
_$DeviceTokenFromJson(json);
DeviceToken({
required this.device,
required this.token,
});
final String device;
final String token;
}