setCustomData static method

Future<void> setCustomData(
  1. Map<String, dynamic>? customData
)

Sets a key-value Map which, like the tags, will be sent along with every exception. This will be merged with any other custom data passed in sendException and sendCustom.

Set to null to clear the value.

Implementation

static Future<void> setCustomData(Map<String, dynamic>? customData) async {
  Settings.customData = customData;
}