ProtoTransaction constructor

ProtoTransaction({
  1. ProtoTransaction_Data? data,
  2. List<int>? signature,
  3. bool? useRlp,
})

Implementation

factory ProtoTransaction({
  ProtoTransaction_Data? data,
  $core.List<$core.int>? signature,
  $core.bool? useRlp,
}) {
  final _result = create();
  if (data != null) {
    _result.data = data;
  }
  if (signature != null) {
    _result.signature = signature;
  }
  if (useRlp != null) {
    _result.useRlp = useRlp;
  }
  return _result;
}