SimulateResponse constructor

SimulateResponse({
  1. GasInfo? gasInfo,
  2. Result? result,
})

Implementation

factory SimulateResponse({
  $8.GasInfo? gasInfo,
  $8.Result? result,
}) {
  final _result = create();
  if (gasInfo != null) {
    _result.gasInfo = gasInfo;
  }
  if (result != null) {
    _result.result = result;
  }
  return _result;
}