setShowHinge method

Future<void> setShowHinge({
  1. HingeConfig? hingeConfig,
})

Add a dual screen device hinge hingeConfig hinge data, null means hideHinge

Implementation

Future<void> setShowHinge({HingeConfig? hingeConfig}) async {
  await _client.send('Overlay.setShowHinge', {
    if (hingeConfig != null) 'hingeConfig': hingeConfig,
  });
}