isWriteSettingsGranted property

Future<bool> isWriteSettingsGranted

Status of the WRITE_SETTINGS permission.

Returns true if the permission has been granted. On Android 5.1(SDK 22) and older always returns true.

Implementation

static Future<bool> get isWriteSettingsGranted async {
  final bool granted = await _channel.invokeMethod('isWriteGranted');
  return granted;
}