formatStorage static method
根据分区编号格式化
Implementation
static Future formatStorage({
required String deviceSerial,
int? index,
}) async {
return await _channel.invokeMethod("format_storage", {
'deviceSerial': deviceSerial,
'partitionIndex': index,
});
}