mirrored_repositories/espresso-cash-public/packages/solana/lib/src
import 'package:json_annotation/json_annotation.dart';

part 'notification_context.g.dart';

@JsonSerializable()
class NotificationContext {
  const NotificationContext({
    required this.slot,
  });

  factory NotificationContext.fromJson(Map<String, dynamic> json) =>
      _$NotificationContextFromJson(json);

  final int slot;

  Map<String, dynamic> toJson() => _$NotificationContextToJson(this);
}
