style: format code

This commit is contained in:
13574
2023-09-09 23:46:58 +08:00
parent f0878b4c28
commit 88c51a73d4
22 changed files with 183 additions and 132 deletions

View File

@@ -26,6 +26,7 @@ class ApiResult<T> {
return throw error!;
}
}
(int, String) unwrapErr() {
if (ok) {
return throw 'unwrap_err called on ok ApiResult';