From 7b0200de4eb626d9b5ef8af0ec218f2e02ab6823 Mon Sep 17 00:00:00 2001 From: Hayri Bakici Date: Sun, 7 Jul 2024 14:35:32 +0200 Subject: [PATCH] format --- lib/src/spotify_base.dart | 2 +- lib/src/spotify_client.dart | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/src/spotify_base.dart b/lib/src/spotify_base.dart index ac29429..91c0e52 100644 --- a/lib/src/spotify_base.dart +++ b/lib/src/spotify_base.dart @@ -182,7 +182,7 @@ abstract class SpotifyApiBase { /// [enable]s logging of the requests and responses on the debug console. /// [loggingDetail] controls the logging verbosity. Default's set - /// to [LoggingDetail.simple]. + /// to [LoggingDetail.simple]. /// Use own [logger] is also possible for e.g. saving logs into a file etc. void enableLogging(bool enable, {LoggingDetail loggingDetail = LoggingDetail.simple, Logger? logger}) { diff --git a/lib/src/spotify_client.dart b/lib/src/spotify_client.dart index 7a3512d..6322e40 100644 --- a/lib/src/spotify_client.dart +++ b/lib/src/spotify_client.dart @@ -23,9 +23,9 @@ class SpotifyClient with http.BaseClient { late Logger _logger; bool _enableLogging = false; - void enableLogging(bool enable, {Logger? logger}){ - _enableLogging = enable; - _logger = logger ?? Logger(); + void enableLogging(bool enable, {Logger? logger}) { + _enableLogging = enable; + _logger = logger ?? Logger(); } LoggingDetail _detail = LoggingDetail.full;