processingColourReplaceMethodGetSetFromJson function

ProcessingColourReplaceMethodGetSet processingColourReplaceMethodGetSetFromJson(
  1. Object? processingColourReplaceMethodGetSet, [
  2. ProcessingColourReplaceMethodGetSet? defaultValue
])

Implementation

enums.ProcessingColourReplaceMethodGetSet
    processingColourReplaceMethodGetSetFromJson(
  Object? processingColourReplaceMethodGetSet, [
  enums.ProcessingColourReplaceMethodGetSet? defaultValue,
]) {
  return enums.ProcessingColourReplaceMethodGetSet.values.firstWhereOrNull(
          (e) =>
              e.value.toString().toLowerCase() ==
              processingColourReplaceMethodGetSet?.toString().toLowerCase()) ??
      defaultValue ??
      enums.ProcessingColourReplaceMethodGetSet.swaggerGeneratedUnknown;
}