Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
blaugold committed Feb 13, 2025
1 parent 20667fa commit 76ba8a3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nakama/lib/src/rest_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,8 @@ final class RestClient extends ClientBase {
@override
NakamaError? translateException(Exception exception) {
return switch (exception) {
DioException(
:final type,
:final response,
:final stackTrace
) =>
switch (type) {
DioException(:final type, :final response, :final stackTrace) => switch (
type) {
DioExceptionType.badResponse => () {
try {
if (response != null) {
Expand Down

0 comments on commit 76ba8a3

Please sign in to comment.