read static method
Implementation
static KeyFrame? read(StreamReader reader, ActorComponent? component) {
  KeyFrameCollisionEnabledProperty frame = KeyFrameCollisionEnabledProperty();
  if (!KeyFrame.read(reader, frame)) {
    return null;
  }
  reader.readBool('value');
  return frame;
}