Retrieves the BoxSpec from the given MixData.
If not found, returns BoxSpec.empty.
BoxSpec.empty
static BoxSpec from(MixData mix) { return mix.attributeOf<BoxSpecAttribute>()?.resolve(mix) ?? const BoxSpec(); }