from static method
Implementation
static StressAxis from(Object? v) => switch (v) {
'resolution' => resolution,
'blur' => blur,
'contrast' => contrast,
'perspective' => perspective,
'rotation' => rotation,
'lighting' => lighting,
_ => unknown,
};