outputNetworkFrameRemappingFramesFrameModeGetSetNullableFromJson function
OutputNetworkFrameRemappingFramesFrameModeGetSet?
outputNetworkFrameRemappingFramesFrameModeGetSetNullableFromJson(
- Object? outputNetworkFrameRemappingFramesFrameModeGetSet, [
- OutputNetworkFrameRemappingFramesFrameModeGetSet? defaultValue
Implementation
enums.OutputNetworkFrameRemappingFramesFrameModeGetSet?
outputNetworkFrameRemappingFramesFrameModeGetSetNullableFromJson(
Object? outputNetworkFrameRemappingFramesFrameModeGetSet, [
enums.OutputNetworkFrameRemappingFramesFrameModeGetSet? defaultValue,
]) {
if (outputNetworkFrameRemappingFramesFrameModeGetSet == null) {
return null;
}
return enums.OutputNetworkFrameRemappingFramesFrameModeGetSet.values
.firstWhereOrNull((e) =>
e.value == outputNetworkFrameRemappingFramesFrameModeGetSet) ??
defaultValue;
}