Skip to content

Commit f8a1218

Browse files
committed
fix(analytics): update GARow constructor to require dimensionValues
- Modify GARow constructor to make dimensionValues a required parameter - This change ensures that dimensionValues are always provided, improving data integrity
1 parent 85db269 commit f8a1218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/models/analytics/google_analytics_response.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class RunReportResponse extends Equatable {
3636
)
3737
class GARow extends Equatable {
3838
/// {@macro ga_row}
39-
const GARow({required this.metricValues, this.dimensionValues = const []});
39+
const GARow({required this.metricValues, required this.dimensionValues});
4040

4141
/// Creates a [GARow] from JSON data.
4242
factory GARow.fromJson(Map<String, dynamic> json) => _$GARowFromJson(json);

0 commit comments

Comments
 (0)