mirrored_repositories/espresso-cash-public/packages/solana/lib/src/rpc
// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'epoch_schedule.dart';

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

EpochSchedule _$EpochScheduleFromJson(Map<String, dynamic> json) =>
    EpochSchedule(
      slotsPerEpoch: json['slotsPerEpoch'] as int,
      leaderScheduleSlotOffset: json['leaderScheduleSlotOffset'] as int,
      warmup: json['warmup'] as bool,
      firstNormalEpoch: json['firstNormalEpoch'] as int,
      firstNormalSlot: json['firstNormalSlot'] as int,
    );

Map<String, dynamic> _$EpochScheduleToJson(EpochSchedule instance) =>
    <String, dynamic>{
      'slotsPerEpoch': instance.slotsPerEpoch,
      'leaderScheduleSlotOffset': instance.leaderScheduleSlotOffset,
      'warmup': instance.warmup,
      'firstNormalEpoch': instance.firstNormalEpoch,
      'firstNormalSlot': instance.firstNormalSlot,
    };
