GasInfo constructor

GasInfo({
  1. Int64? gasWanted,
  2. Int64? gasUsed,
})

Implementation

factory GasInfo({
  $fixnum.Int64? gasWanted,
  $fixnum.Int64? gasUsed,
}) {
  final _result = create();
  if (gasWanted != null) {
    _result.gasWanted = gasWanted;
  }
  if (gasUsed != null) {
    _result.gasUsed = gasUsed;
  }
  return _result;
}