From c9300c0443e45a11bfac9e98950fe9ff4e45b626 Mon Sep 17 00:00:00 2001 From: Leo Farias Date: Tue, 8 Aug 2023 15:42:43 -0400 Subject: [PATCH] Updated linting --- lib/src/models/latest_version_model.dart | 2 +- lib/src/models/package_documentation_model.dart | 2 +- lib/src/models/package_options_model.dart | 2 +- lib/src/models/pub_package_model.dart | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/src/models/latest_version_model.dart b/lib/src/models/latest_version_model.dart index 2053c0f..32d50d2 100644 --- a/lib/src/models/latest_version_model.dart +++ b/lib/src/models/latest_version_model.dart @@ -29,5 +29,5 @@ class LatestVersion { @override String toString() => - 'LatestVersion(needUpdate: $needUpdate, latestVersion: $latestVersion, packageInfo: $packageInfo)'; + '''LatestVersion(needUpdate: $needUpdate, latestVersion: $latestVersion, packageInfo: $packageInfo)'''; } diff --git a/lib/src/models/package_documentation_model.dart b/lib/src/models/package_documentation_model.dart index 23e9ece..96994a3 100644 --- a/lib/src/models/package_documentation_model.dart +++ b/lib/src/models/package_documentation_model.dart @@ -98,5 +98,5 @@ class PackageDocumentationVersion { @override String toString() => - 'PackageDocumentationVersion(version: $version, status: $status, hasDocumentation: $hasDocumentation)'; + '''PackageDocumentationVersion(version: $version, status: $status, hasDocumentation: $hasDocumentation)'''; } diff --git a/lib/src/models/package_options_model.dart b/lib/src/models/package_options_model.dart index 4b1549c..3f45e30 100644 --- a/lib/src/models/package_options_model.dart +++ b/lib/src/models/package_options_model.dart @@ -25,7 +25,7 @@ class PackageOptions { @override String toString() => - 'PackageOptions(isDiscontinued: $isDiscontinued, isUnlisted: $isUnlisted, replacedBy: $replacedBy)'; + '''PackageOptions(isDiscontinued: $isDiscontinued, isUnlisted: $isUnlisted, replacedBy: $replacedBy)'''; @override bool operator ==(Object other) { diff --git a/lib/src/models/pub_package_model.dart b/lib/src/models/pub_package_model.dart index a15ad41..6e5395c 100644 --- a/lib/src/models/pub_package_model.dart +++ b/lib/src/models/pub_package_model.dart @@ -87,7 +87,7 @@ class PackageVersion { @override String toString() => - 'PackageVersion(version: $version, pubspec: $pubspec, archiveUrl: $archiveUrl, published: $published)'; + '''PackageVersion(version: $version, pubspec: $pubspec, archiveUrl: $archiveUrl, published: $published)'''; @override bool operator ==(Object other) {