deleteAllData method Null safety

Future<void> deleteAllData()

Clears all storage currently being used by the JavaScript storage APIs. This includes the Application Cache, Web SQL Database and the HTML5 Web Storage APIs.

Implementation

Future<void> deleteAllData() async {
  Map<String, dynamic> args = <String, dynamic>{};
  await _staticChannel.invokeMethod('deleteAllData', args);
}