MaxZoomStatus$cast function

MaxZoomStatus? MaxZoomStatus$cast(
  1. dynamic value
)

Implementation

MaxZoomStatus? MaxZoomStatus$cast(value) {
  if (value == MaxZoomStatus.ERROR) return MaxZoomStatus.ERROR;
  if (value == MaxZoomStatus.OK) return MaxZoomStatus.OK;
  return null;
}