toMap method

Map<String, Object?> toMap()

Converts this object to a platform-channel map.

Implementation

Map<String, Object?> toMap() => <String, Object?>{
      'keepScreenOn': keepScreenOn,
      'orientationLock': orientationLock.name,
      'pictureInPictureAspectRatio': pictureInPictureAspectRatio,
      'prefersHomeIndicatorAutoHidden': prefersHomeIndicatorAutoHidden,
    };