restartApp method Null safety

Future<bool?> restartApp()

Implementation

static Future<bool?> restartApp() async{
  final result = await _channel.invokeMethod('restartApp');
  return result;
}