addMetadata abstract method

Future<void> addMetadata(
  1. String section,
  2. Map<String, Object> metadata
)

Adds a map of multiple metadata key-value pairs to the specified section.

bugsnag.addMetadata('account', const {'name': 'Acme. Co.'});

See also:

Implementation

Future<void> addMetadata(String section, Map<String, Object> metadata);