enable lint prefer_void_to_null (#23174)
* enable lint prefer_void_to_null
* replace last Null by void
diff --git a/README.md b/README.md
index 07ad72b..0c6095f 100644
--- a/README.md
+++ b/README.md
@@ -100,7 +100,7 @@
Accessing platform features is easy. Here is a snippet from our <a href="https://github.com/flutter/flutter/tree/master/examples/platform_channel">interop example</a>:
```dart
-Future<Null> getBatteryLevel() async {
+Future<void> getBatteryLevel() async {
var batteryLevel = 'unknown';
try {
int result = await methodChannel.invokeMethod('getBatteryLevel');