CellOutput constructor

CellOutput({
  1. Int64? capacity,
  2. Script? lock,
  3. Script? type,
})

Implementation

factory CellOutput({
  $fixnum.Int64? capacity,
  Script? lock,
  Script? type,
}) {
  final _result = create();
  if (capacity != null) {
    _result.capacity = capacity;
  }
  if (lock != null) {
    _result.lock = lock;
  }
  if (type != null) {
    _result.type = type;
  }
  return _result;
}