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

part of 'parsed_account_data.dart';

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

_$ParsedSplTokenProgramAccountDataImpl
    _$$ParsedSplTokenProgramAccountDataImplFromJson(
            Map<String, dynamic> json) =>
        _$ParsedSplTokenProgramAccountDataImpl(
          SplTokenProgramAccountData.fromJson(
              json['parsed'] as Map<String, dynamic>),
          $type: json['program'] as String?,
        );

Map<String, dynamic> _$$ParsedSplTokenProgramAccountDataImplToJson(
        _$ParsedSplTokenProgramAccountDataImpl instance) =>
    <String, dynamic>{
      'parsed': instance.parsed.toJson(),
      'program': instance.$type,
    };

_$ParsedStakeProgramAccountDataImpl
    _$$ParsedStakeProgramAccountDataImplFromJson(Map<String, dynamic> json) =>
        _$ParsedStakeProgramAccountDataImpl(
          StakeProgramAccountData.fromJson(
              json['parsed'] as Map<String, dynamic>),
          $type: json['program'] as String?,
        );

Map<String, dynamic> _$$ParsedStakeProgramAccountDataImplToJson(
        _$ParsedStakeProgramAccountDataImpl instance) =>
    <String, dynamic>{
      'parsed': instance.parsed.toJson(),
      'program': instance.$type,
    };

_$UnsupportedProgramAccountDataImpl
    _$$UnsupportedProgramAccountDataImplFromJson(Map<String, dynamic> json) =>
        _$UnsupportedProgramAccountDataImpl(
          json['parsed'] as Map<String, dynamic>,
          $type: json['program'] as String?,
        );

Map<String, dynamic> _$$UnsupportedProgramAccountDataImplToJson(
        _$UnsupportedProgramAccountDataImpl instance) =>
    <String, dynamic>{
      'parsed': instance.parsed,
      'program': instance.$type,
    };
