// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'get_capabilities_response.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

CapabilitiesResponse _$CapabilitiesResponseFromJson(
  Map<String, dynamic> json,
) => CapabilitiesResponse(
  viewForeignTimetables: json['viewForeignTimetables'] as bool? ?? false,
  pushNotifications: json['pushNotifications'] as bool? ?? false,
  timetablePastDays: (json['timetablePastDays'] as num?)?.toInt(),
  timetableFutureDays: (json['timetableFutureDays'] as num?)?.toInt(),
  userType: json['userType'] as String?,
);

Map<String, dynamic> _$CapabilitiesResponseToJson(
  CapabilitiesResponse instance,
) => <String, dynamic>{
  'viewForeignTimetables': instance.viewForeignTimetables,
  'pushNotifications': instance.pushNotifications,
  'timetablePastDays': instance.timetablePastDays,
  'timetableFutureDays': instance.timetableFutureDays,
  'userType': instance.userType,
};
