SuiTransactionResponse.fromJson constructor

SuiTransactionResponse.fromJson(
  1. dynamic data
)

Implementation

factory SuiTransactionResponse.fromJson(dynamic data) {
  return SuiTransactionResponse(
    CertifiedTransaction.fromJson(data['certificate']),
    TransactionEffects.fromJson(data['effects']),
    data['timestamp_ms'],
    data['parsed_data'] != null ? SuiParsedTransactionResponse.fromJson(data['parsed_data']) : null
  );
}