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

part of 'token_largest_account.dart';

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

TokenLargestAccount _$TokenLargestAccountFromJson(Map<String, dynamic> json) =>
    TokenLargestAccount(
      address: json['address'] as String,
      amount: json['amount'] as String,
      decimals: json['decimals'] as int,
      uiAmountString: json['uiAmountString'] as String,
    );

Map<String, dynamic> _$TokenLargestAccountToJson(
        TokenLargestAccount instance) =>
    <String, dynamic>{
      'address': instance.address,
      'amount': instance.amount,
      'decimals': instance.decimals,
      'uiAmountString': instance.uiAmountString,
    };

TokenLargestAccountsResult _$TokenLargestAccountsResultFromJson(
        Map<String, dynamic> json) =>
    TokenLargestAccountsResult(
      context: Context.fromJson(json['context'] as Map<String, dynamic>),
      value: (json['value'] as List<dynamic>)
          .map((e) => TokenLargestAccount.fromJson(e as Map<String, dynamic>))
          .toList(),
    );

Map<String, dynamic> _$TokenLargestAccountsResultToJson(
        TokenLargestAccountsResult instance) =>
    <String, dynamic>{
      'context': instance.context.toJson(),
      'value': instance.value.map((e) => e.toJson()).toList(),
    };
