canGetDeviceId method Null safety

Future<void> canGetDeviceId(
  1. bool flag
)

Implementation

static Future<void> canGetDeviceId(bool flag) async {
  if (defaultTargetPlatform == TargetPlatform.android) {
    await _channel.invokeMethod('canGetDeviceId', {
      'canGetDeviceId': flag,
    });
  }
}