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

part of 'simple_instruction.dart';

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

SimpleInstruction _$SimpleInstructionFromJson(Map<String, dynamic> json) =>
    SimpleInstruction(
      programId: json['programId'] as String,
      data: json['data'] as String,
      accounts:
          (json['accounts'] as List<dynamic>).map(AccountKey.fromJson).toList(),
    );

Map<String, dynamic> _$SimpleInstructionToJson(SimpleInstruction instance) =>
    <String, dynamic>{
      'programId': instance.programId,
      'data': instance.data,
      'accounts': instance.accounts.map((e) => e.toJson()).toList(),
    };
