toMap method

String toMap()

Implementation

String toMap() => switch (this) {
  CameraLens.front => 'front',
  CameraLens.back => 'back',
};