outputNetworkFrameRemappingFramesFrameModeGetSetFromJson function

OutputNetworkFrameRemappingFramesFrameModeGetSet outputNetworkFrameRemappingFramesFrameModeGetSetFromJson(
  1. Object? outputNetworkFrameRemappingFramesFrameModeGetSet, [
  2. OutputNetworkFrameRemappingFramesFrameModeGetSet? defaultValue
])

Implementation

enums.OutputNetworkFrameRemappingFramesFrameModeGetSet
    outputNetworkFrameRemappingFramesFrameModeGetSetFromJson(
  Object? outputNetworkFrameRemappingFramesFrameModeGetSet, [
  enums.OutputNetworkFrameRemappingFramesFrameModeGetSet? defaultValue,
]) {
  return enums.OutputNetworkFrameRemappingFramesFrameModeGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              outputNetworkFrameRemappingFramesFrameModeGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.OutputNetworkFrameRemappingFramesFrameModeGetSet
          .swaggerGeneratedUnknown;
}