SimulationResponse constructor

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

Implementation

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