overrideTestPatternCustomGradientOrientationGetSetFromJson function
OverrideTestPatternCustomGradientOrientationGetSet
overrideTestPatternCustomGradientOrientationGetSetFromJson(
- Object? overrideTestPatternCustomGradientOrientationGetSet, [
- OverrideTestPatternCustomGradientOrientationGetSet? defaultValue
Implementation
enums.OverrideTestPatternCustomGradientOrientationGetSet
overrideTestPatternCustomGradientOrientationGetSetFromJson(
Object? overrideTestPatternCustomGradientOrientationGetSet, [
enums.OverrideTestPatternCustomGradientOrientationGetSet? defaultValue,
]) {
return enums.OverrideTestPatternCustomGradientOrientationGetSet.values
.firstWhereOrNull((e) =>
e.value.toString().toLowerCase() ==
overrideTestPatternCustomGradientOrientationGetSet
?.toString()
.toLowerCase()) ??
defaultValue ??
enums.OverrideTestPatternCustomGradientOrientationGetSet
.swaggerGeneratedUnknown;
}