// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'membership_info_response.dart';

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

MembershipInfoResponse _$MembershipInfoResponseFromJson(
  Map<String, dynamic> json,
) => MembershipInfoResponse(
  levels:
      (json['levels'] as List<dynamic>?)
          ?.map((e) => MembershipLevelModel.fromJson(e as Map<String, dynamic>))
          .toList(),
  membershipRule: json['membership_rule'] as String?,
);

Map<String, dynamic> _$MembershipInfoResponseToJson(
  MembershipInfoResponse instance,
) => <String, dynamic>{
  'levels': instance.levels,
  'membership_rule': instance.membershipRule,
};
