init method

  1. @override
void init([
  1. Particle? data
])
override

Initialize this object.

See ObjectPool.acquire for more information on how this gets called.

Implementation

@override
void init([Particle? data]) => particle = data;