TransactionResult constructor

const TransactionResult({
  1. required String hash,
  2. required bool success,
  3. TransactionError? error,
})

Implementation

const TransactionResult({
  required this.hash,
  required this.success,
  this.error,
}) : assert(success || error != null);