AptosGraphQLTokenActivity.fromJson constructor

AptosGraphQLTokenActivity.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AptosGraphQLTokenActivity.fromJson(Map<String, dynamic> json) {
  return AptosGraphQLTokenActivity(
    afterValue: json['after_value'],
    beforeValue: json['before_value'],
    entryFunctionIdStr: json['entry_function_id_str'],
    eventAccountAddress: json['event_account_address'],
    eventIndex: json['event_index'],
    fromAddress: json['from_address'],
    isFungibleV2: json['is_fungible_v2'],
    propertyVersionV1: json['property_version_v1'],
    toAddress: json['to_address'],
    tokenAmount: json['token_amount'],
    tokenDataId: json['token_data_id'],
    tokenStandard: json['token_standard'],
    transactionTimestamp: json['transaction_timestamp'],
    transactionVersion: json['transaction_version'],
    type: json['type'],
  );
}