Skip to content

Commit 7953594

Browse files
committed
Fix formatting latest Dart
1 parent 6258671 commit 7953594

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

dart/lib/src/protocol/sentry_event.dart

+6-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ class SentryEvent with SentryEventLike<SentryEvent> {
1313
DateTime? timestamp,
1414
Map<String, String>? modules,
1515
Map<String, String>? tags,
16-
@Deprecated('Additional Data is deprecated in favor of structured [Contexts] and should be avoided when possible')
17-
Map<String, dynamic>? extra,
16+
@Deprecated(
17+
'Additional Data is deprecated in favor of structured [Contexts] and should be avoided when possible')
18+
Map<String, dynamic>? extra,
1819
List<String>? fingerprint,
1920
List<Breadcrumb>? breadcrumbs,
2021
List<SentryException>? exceptions,
@@ -205,8 +206,9 @@ class SentryEvent with SentryEventLike<SentryEvent> {
205206
SentryLevel? level,
206207
String? culprit,
207208
Map<String, String>? tags,
208-
@Deprecated('Additional Data is deprecated in favor of structured [Contexts] and should be avoided when possible')
209-
Map<String, dynamic>? extra,
209+
@Deprecated(
210+
'Additional Data is deprecated in favor of structured [Contexts] and should be avoided when possible')
211+
Map<String, dynamic>? extra,
210212
List<String>? fingerprint,
211213
SentryUser? user,
212214
Contexts? contexts,

dart/lib/src/protocol/sentry_request.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class SentryRequest {
7272
Map<String, String>? headers,
7373
Map<String, String>? env,
7474
@Deprecated('Will be removed in v8. Use [data] instead')
75-
Map<String, String>? other,
75+
Map<String, String>? other,
7676
}) : _data = data,
7777
_headers = headers != null ? Map.from(headers) : null,
7878
// Look for a 'Set-Cookie' header (case insensitive) if not given.
@@ -91,7 +91,7 @@ class SentryRequest {
9191
Map<String, String>? headers,
9292
Map<String, String>? env,
9393
@Deprecated('Will be removed in v8. Use [data] instead')
94-
Map<String, String>? other,
94+
Map<String, String>? other,
9595
}) {
9696
return SentryRequest(
9797
url: uri.toString(),
@@ -149,7 +149,7 @@ class SentryRequest {
149149
Map<String, String>? headers,
150150
Map<String, String>? env,
151151
@Deprecated('Will be removed in v8. Use [data] instead')
152-
Map<String, String>? other,
152+
Map<String, String>? other,
153153
bool removeCookies = false,
154154
}) =>
155155
SentryRequest(

dart/lib/src/protocol/sentry_transaction.dart

+6-4
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ class SentryTransaction extends SentryEvent {
2626
String? transaction,
2727
dynamic throwable,
2828
Map<String, String>? tags,
29-
@Deprecated('Additional Data is deprecated in favor of structured [Contexts] and should be avoided when possible')
30-
Map<String, dynamic>? extra,
29+
@Deprecated(
30+
'Additional Data is deprecated in favor of structured [Contexts] and should be avoided when possible')
31+
Map<String, dynamic>? extra,
3132
SentryUser? user,
3233
Contexts? contexts,
3334
List<Breadcrumb>? breadcrumbs,
@@ -118,8 +119,9 @@ class SentryTransaction extends SentryEvent {
118119
SentryLevel? level,
119120
String? culprit,
120121
Map<String, String>? tags,
121-
@Deprecated('Additional Data is deprecated in favor of structured [Contexts] and should be avoided when possible')
122-
Map<String, dynamic>? extra,
122+
@Deprecated(
123+
'Additional Data is deprecated in favor of structured [Contexts] and should be avoided when possible')
124+
Map<String, dynamic>? extra,
123125
List<String>? fingerprint,
124126
SentryUser? user,
125127
Contexts? contexts,

dart/lib/src/protocol/sentry_user.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class SentryUser {
4343
this.name,
4444
Map<String, dynamic>? data,
4545
@Deprecated('Will be removed in v8. Use [data] instead')
46-
Map<String, dynamic>? extras,
46+
Map<String, dynamic>? extras,
4747
}) : assert(
4848
id != null ||
4949
username != null ||
@@ -145,7 +145,7 @@ class SentryUser {
145145
String? ipAddress,
146146
String? segment,
147147
@Deprecated('Will be removed in v8. Use [data] instead')
148-
Map<String, dynamic>? extras,
148+
Map<String, dynamic>? extras,
149149
String? name,
150150
SentryGeo? geo,
151151
Map<String, dynamic>? data,

0 commit comments

Comments
 (0)