@@ -6,43 +6,45 @@ final event = SentryEvent(
66 release: '1.4.0-preview.1' ,
77 environment: 'Test' ,
88 message: Message ('This is an example Dart event.' ),
9- transaction: '/example/app' ,
10- level: SentryLevel .warning,
119 tags: const < String , String > {'project-id' : '7371' },
12- extra: const < String , String > {'company-name ' : 'Dart Inc ' },
10+ extra: const < String , String > {'section ' : '1 ' },
1311 fingerprint: const < String > ['example-dart' ],
1412 userContext: const User (
15- id: '800' ,
16- username: 'first-user' ,
17- 18- ipAddress: '127.0.0.1' ,
19- extras: < String , String > {'first-sign-in' : '2020-01-01' }),
13+ id: '800' ,
14+ username: 'first-user' ,
15+ 16+ ipAddress: '127.0.0.1' ,
17+ extras: < String , String > {'first-sign-in' : '2020-01-01' },
18+ ),
2019 breadcrumbs: [
2120 Breadcrumb (
22- message: 'UI Lifecycle' ,
23- timestamp: DateTime .now ().toUtc (),
24- category: 'ui.lifecycle' ,
25- type: 'navigation' ,
26- data: {'screen' : 'MainActivity' , 'state' : 'created' },
27- level: SentryLevel .info)
21+ message: 'UI Lifecycle' ,
22+ timestamp: DateTime .now ().toUtc (),
23+ category: 'ui.lifecycle' ,
24+ type: 'navigation' ,
25+ data: {'screen' : 'MainActivity' , 'state' : 'created' },
26+ level: SentryLevel .info,
27+ )
2828 ],
2929 contexts: Contexts (
3030 operatingSystem: const OperatingSystem (
31- name: 'Android' ,
32- version: '5.0.2' ,
33- build: 'LRX22G.P900XXS0BPL2' ,
34- kernelVersion:
35- 'Linux version 3.4.39-5726670 (dpi@SWHC3807) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Thu Dec 1 19:42:39 KST 2016' ,
36- rooted: false ),
31+ name: 'Android' ,
32+ version: '5.0.2' ,
33+ build: 'LRX22G.P900XXS0BPL2' ,
34+ kernelVersion:
35+ 'Linux version 3.4.39-5726670 (dpi@SWHC3807) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Thu Dec 1 19:42:39 KST 2016' ,
36+ rooted: false ,
37+ ),
3738 runtimes: [const Runtime (name: 'ART' , version: '5' )],
3839 app: App (
39- name: 'Example Dart App' ,
40- version: '1.42.0' ,
41- identifier: 'HGT-App-13' ,
42- build: '93785' ,
43- buildType: 'release' ,
44- deviceAppHash: '5afd3a6' ,
45- startTime: DateTime .now ().toUtc ()),
40+ name: 'Example Dart App' ,
41+ version: '1.42.0' ,
42+ identifier: 'HGT-App-13' ,
43+ build: '93785' ,
44+ buildType: 'release' ,
45+ deviceAppHash: '5afd3a6' ,
46+ startTime: DateTime .now ().toUtc (),
47+ ),
4648 browser: const Browser (name: 'Firefox' , version: '42.0.1' ),
4749 device: Device (
4850 name: 'SM-P900' ,
0 commit comments