Skip to content

Commit d0aeb95

Browse files
committed
use base and final
1 parent b9d97ee commit d0aeb95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkgs/unified_analytics/lib/src/event.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ final class Event {
854854
///
855855
/// This base type can be used as a parameter in any event constructor that
856856
/// allows custom metrics to be added by a unified_analytics client.
857-
abstract class CustomMetrics {
857+
abstract base class CustomMetrics {
858858
/// Converts the custom metrics data to a [Map] object.
859859
///
860860
/// This must be a JSON encodable [Map].

pkgs/unified_analytics/test/event_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ void main() {
689689
});
690690
}
691691

692-
class _TestMetrics extends CustomMetrics {
692+
final class _TestMetrics extends CustomMetrics {
693693
_TestMetrics({
694694
required this.stringField,
695695
required this.nullableField,

0 commit comments

Comments
 (0)