Cell.fromProperties constructor

Cell.fromProperties(
  1. Properties properties
)

Constructs a Cell from predefined properties.

Parameters:

  • properties: The properties to use for this cell

Returns a new CellSync instance

Example:

final properties = Properties(
 receptor: Receptor.unchanged,
 bind: parentCell,
 test: TestObject.passed,
 synapses: Synapses.enabled
 );

final cell = Cell.fromProperties(properties);

Implementation

factory Cell.fromProperties(Properties properties) = CellSync.fromProperties;