sCameraLensDirectionLabel method

String sCameraLensDirectionLabel(
  1. CameraLensDirection value
)

Implementation

String sCameraLensDirectionLabel(CameraLensDirection value) {
  switch (value) {
    case CameraLensDirection.front:
      return '前置';
    case CameraLensDirection.back:
      return '后置';
    case CameraLensDirection.external:
      return '外置';
  }
}