read static method

ActorTransformConstraint read(
  1. ActorArtboard artboard,
  2. StreamReader reader,
  3. ActorTransformConstraint? component
)
override

Implementation

static ActorTransformConstraint read(ActorArtboard artboard,
    StreamReader reader, ActorTransformConstraint? component) {
  // ignore: parameter_assignments
  component ??= ActorTransformConstraint();
  ActorTargetedConstraint.read(artboard, reader, component);

  component._sourceSpace = reader.readUint8('sourceSpaceId');
  component._destSpace = reader.readUint8('destSpaceId');

  return component;
}