RlpItem constructor

RlpItem({
  1. String? stringItem,
  2. Int64? numberU64,
  3. List<int>? numberU256,
  4. String? address,
  5. List<int>? data,
  6. RlpList? list,
  7. List<int>? rawEncoded,
})

Implementation

factory RlpItem({
  $core.String? stringItem,
  $fixnum.Int64? numberU64,
  $core.List<$core.int>? numberU256,
  $core.String? address,
  $core.List<$core.int>? data,
  RlpList? list,
  $core.List<$core.int>? rawEncoded,
}) {
  final $result = create();
  if (stringItem != null) {
    $result.stringItem = stringItem;
  }
  if (numberU64 != null) {
    $result.numberU64 = numberU64;
  }
  if (numberU256 != null) {
    $result.numberU256 = numberU256;
  }
  if (address != null) {
    $result.address = address;
  }
  if (data != null) {
    $result.data = data;
  }
  if (list != null) {
    $result.list = list;
  }
  if (rawEncoded != null) {
    $result.rawEncoded = rawEncoded;
  }
  return $result;
}