From cfc77a7044ff9afb7c4e951c058f0e013554a960 Mon Sep 17 00:00:00 2001 From: nt4f04uNd Date: Tue, 20 Jul 2021 21:59:33 +0300 Subject: [PATCH] 2.0.1 --- CHANGELOG.md | 4 ++++ lib/genius_api_unofficial.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a397b5..ad2e34b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.0.1 + +- fix error in library level comment + ## 2.0.0 - null safety diff --git a/lib/genius_api_unofficial.dart b/lib/genius_api_unofficial.dart index c2de4a2..910c38a 100644 --- a/lib/genius_api_unofficial.dart +++ b/lib/genius_api_unofficial.dart @@ -58,7 +58,7 @@ /// /// // Get info about song "https://genius.com/Yxngxr1-riley-reid-lyrics". /// final res = await api.getSong(4585202); -/// print(res.data['song']['full_title']); // Outputs "Riley Reid by ​yxngxr1" +/// print(res.data!['song']['full_title']); // Outputs "Riley Reid by ​yxngxr1" /// ``` /// /// ## Links diff --git a/pubspec.yaml b/pubspec.yaml index a6cd186..60fda54 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: genius_api_unofficial description: This library provides you with a nice interface to Genius API. -version: 2.0.0 +version: 2.0.1 homepage: https://github.com/nt4f04uNd/genius_api_unofficial repository: https://github.com/nt4f04uNd/genius_api_unofficial issue_tracker: https://github.com/nt4f04uNd/genius_api_unofficial/issues