Skip to content

Commit 394b760

Browse files
committed
make SocialProvider a final class
1 parent e81d17f commit 394b760

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/src/models/enums/social_provider.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
// TODO: investigate if this can be a `final class` once Class Modifiers are available in Dart 3.0
2-
// https://github.com/dart-lang/language/blob/master/accepted/future-releases/class-modifiers/feature-specification.md#syntax
3-
41
/// The currently supported social providers.
52
///
63
/// Depending on the platform; some social providers might be unavailable.
7-
class SocialProvider {
4+
final class SocialProvider {
85
/// The private constructor.
96
const SocialProvider._(this.name);
107

0 commit comments

Comments
 (0)