read method

bool read(
  1. StreamReader reader
)

Implementation

bool read(StreamReader reader) {
  _cubic = CubicEase.make(
      reader.readFloat32('cubicX1'),
      reader.readFloat32('cubicY1'),
      reader.readFloat32('cubicX2'),
      reader.readFloat32('cubicY2'));
  return true;
}