Skip to content

Accept Map<String, dynamic> in Hint class #1610

@nimi0112

Description

@nimi0112

Problem Statement

I want to send some data through hint in Sentry.captureException.

That data may be null but Hint class does not accept a Map with <String,dynamic> in Hint.withMap constructor.

At the end I just want to see the data I send through Map on the dashboard.

If feasible, please add it.

Solution Brainstorm

Change to type from final Map<String, Object> _internalStorage = {}; to final Map<String, dynamic> _internalStorage = {}; in lib/src/hint.dart:42.

Are you willing to submit a PR?

Yes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions