notification_report_request.dart 556 B

1234567891011121314151617181920212223
  1. import 'package:json_annotation/json_annotation.dart';
  2. import '../../../base/app_base_request.dart';
  3. part 'notification_report_request.g.dart';
  4. @JsonSerializable()
  5. class NotificationReportRequest extends AppBaseRequest {
  6. @JsonKey(name: 'deviceToken')
  7. String deviceToken;
  8. NotificationReportRequest({required this.deviceToken});
  9. factory NotificationReportRequest.fromJson(Map<String, dynamic> json) =>
  10. _$NotificationReportRequestFromJson(json);
  11. @override
  12. Map<String, dynamic> toJson() => _$NotificationReportRequestToJson(this);
  13. }