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;
}