from static method

BoxTestSpec from(
  1. MixData mix
)

Retrieves the BoxTestSpec from a MixData.

Implementation

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