TransactionCost.fromJson constructor

TransactionCost.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory TransactionCost.fromJson(Map<String, dynamic> data) {
  return TransactionCost(
    gasPrice: data['gasPrice'],
    gasUsed: data['gasUsed'],
    minFee: data['minFee'],
    maxFee: data['maxFee'],
  );
}