setIsPermissionGranted method

Future<void> setIsPermissionGranted({
  1. required bool granted,
  2. String? buildModel,
})

设置是否已授权获取设备信息/是否同意隐私协议

Implementation

Future<void> setIsPermissionGranted({
  required bool granted,
  String? buildModel /* android.os.Build.MODEL */,
}) {
  throw UnimplementedError(
      'setIsPermissionGranted({required granted, buildModel}) has not been implemented.');
}