from static method

StackSpec from(
  1. MixData mix
)

Implementation

static StackSpec from(MixData mix) {
  return mix.attributeOf<StackSpecAttribute>()?.resolve(mix) ??
      const StackSpec();
}