AptosGraphQLDelegatedStakingActivity.fromJson constructor

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

Implementation

factory AptosGraphQLDelegatedStakingActivity.fromJson(
    Map<String, dynamic> json) {
  return AptosGraphQLDelegatedStakingActivity(
    amount: json['amount'],
    delegatorAddress: json['delegator_address'],
    eventIndex: json['event_index'],
    eventType: json['event_type'],
    poolAddress: json['pool_address'],
    transactionVersion: json['transaction_version'],
  );
}