BlobLayout.from constructor

BlobLayout.from({
  1. required List<Particle> blobs,
  2. required Color blobsColor,
})

Implementation

factory BlobLayout.from({
  required List<Particle> blobs,
  required Color blobsColor,
}) =>
    BlobLayout(
      blobs: blobs,
      blobsColor: blobsColor,
    );