@@ -16,15 +16,15 @@ import 'version.dart';
1616
1717SentryClient createSentryClient ({
1818 @required String dsn,
19- Event environment ,
19+ Event environmentAttributes ,
2020 bool compressPayload,
2121 Client httpClient,
2222 dynamic clock,
2323 UuidGenerator uuidGenerator,
2424}) =>
2525 SentryIOClient (
2626 dsn: dsn,
27- environment : environment ,
27+ environmentAttributes : environmentAttributes ,
2828 compressPayload: compressPayload,
2929 httpClient: httpClient,
3030 clock: clock,
@@ -36,7 +36,7 @@ class SentryIOClient extends SentryClient {
3636 /// Instantiates a client using [dsn] issued to your project by Sentry.io as
3737 /// the endpoint for submitting events.
3838 ///
39- /// [environment ] contain event attributes that do not change over
39+ /// [environmentAttributes ] contain event attributes that do not change over
4040 /// the course of a program's lifecycle. These attributes will be added to
4141 /// all events captured via this client. The following attributes often fall
4242 /// under this category: [Event.serverName] , [Event.release] , [Event.environment] .
@@ -59,7 +59,7 @@ class SentryIOClient extends SentryClient {
5959 /// tests.
6060 factory SentryIOClient ({
6161 @required String dsn,
62- Event environment ,
62+ Event environmentAttributes ,
6363 bool compressPayload,
6464 Client httpClient,
6565 dynamic clock,
@@ -74,7 +74,7 @@ class SentryIOClient extends SentryClient {
7474 httpClient: httpClient,
7575 clock: clock,
7676 uuidGenerator: uuidGenerator,
77- environment : environment ,
77+ environmentAttributes : environmentAttributes ,
7878 dsn: dsn,
7979 compressPayload: compressPayload,
8080 platform: sdkPlatform,
@@ -85,7 +85,7 @@ class SentryIOClient extends SentryClient {
8585 Client httpClient,
8686 dynamic clock,
8787 UuidGenerator uuidGenerator,
88- Event environment ,
88+ Event environmentAttributes ,
8989 String dsn,
9090 this .compressPayload = true ,
9191 String platform,
@@ -94,7 +94,7 @@ class SentryIOClient extends SentryClient {
9494 httpClient: httpClient,
9595 clock: clock,
9696 uuidGenerator: uuidGenerator,
97- environment : environment ,
97+ environmentAttributes : environmentAttributes ,
9898 dsn: dsn,
9999 platform: platform,
100100 origin: origin,
0 commit comments