TransactionExpiration.fromJson constructor
Implementation
factory TransactionExpiration.fromJson(Map<String, dynamic>? json) {
dynamic epoch = json?["Epoch"];
if (epoch != null) {
return TransactionExpiration(epoch: int.parse(epoch.toString()));
} else {
return TransactionExpiration(epoch: null);
}
}