toMap method
Converts this object to a platform-channel map.
Implementation
Map<String, Object?> toMap() => <String, Object?>{
'keepScreenOn': keepScreenOn,
'orientationLock': orientationLock.name,
'pictureInPictureAspectRatio': pictureInPictureAspectRatio,
'prefersHomeIndicatorAutoHidden': prefersHomeIndicatorAutoHidden,
};