read static method

JellyComponent read(
  1. ActorArtboard artboard,
  2. StreamReader reader,
  3. JellyComponent? node
)
override

Implementation

static JellyComponent read(
    ActorArtboard artboard, StreamReader reader, JellyComponent? node) {
  // ignore: parameter_assignments
  node ??= JellyComponent();
  ActorComponent.read(artboard, reader, node);

  node._easeIn = reader.readFloat32('easeIn');
  node._easeOut = reader.readFloat32('easeOut');
  node._scaleIn = reader.readFloat32('scaleIn');
  node._scaleOut = reader.readFloat32('scaleOut');
  node._inTargetIdx = reader.readId('inTargetId');
  node._outTargetIdx = reader.readId('outTargetId');

  return node;
}