import 'package:electronic_assistant/base/base_request.dart';
import 'package:electronic_assistant/data/repositories/account_repository.dart';
import 'package:json_annotation/json_annotation.dart';

part 'app_base_request.g.dart';

@JsonSerializable()
class AppBaseRequest extends BaseRequest {
  @JsonKey(name: 'authToken')
  String? authToken = accountRepository.token;

  @override
  Map<String, dynamic> toJson() => _$AppBaseRequestToJson(this);
}
