mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-16 13:43:17 +00:00
17 lines
348 B
Dart
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;
|
|
}
|