chore: format code
This commit is contained in:
parent
31180f9921
commit
1b3440e2fe
7 changed files with 516 additions and 2 deletions
|
|
@ -116,4 +116,14 @@ class LocationBridge {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
static Future<int> clearLogs() async {
|
||||
try {
|
||||
final result = await _methodChannel.invokeMethod<int>('clearLogs');
|
||||
return result ?? -1;
|
||||
} on PlatformException catch (e) {
|
||||
debugPrint('Failed to clear logs: ${e.message}');
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue