TransactionResult constructor
const
TransactionResult({
- required String hash,
- required bool success,
- TransactionError? error,
Implementation
const TransactionResult({
required this.hash,
required this.success,
this.error,
}) : assert(success || error != null);