Skip to content

Commit e1cbfd5

Browse files
committed
make social provider a final class
1 parent 07ef4af commit e1cbfd5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/src/models/enums/social_provider.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
// TODO: investigate if this can be a `final class` once Class Modifiers are available in Dart 3.0
2-
31
/// The currently supported social providers.
42
///
5-
/// Depending on the platform; some social providers might be unavailable.
6-
class SocialProvider {
3+
/// Depending on the platform, some social providers might be unavailable.
4+
final class SocialProvider {
75
/// The private constructor.
86
const SocialProvider._(this.name);
97

0 commit comments

Comments
 (0)