setCustomKey method
Sets a custom key and value that are associated with subsequent fatal and non-fatal reports.
Multiple calls to this method with the same key update the value for that key. The value of any key at the time of a fatal or non-fatal event is associated with that event. Keys and associated values are visible in the session view on the Firebase Crashlytics console.
Accepts a maximum of 64 key/value pairs. New keys beyond that limit are ignored. Keys or values that exceed 1024 characters are truncated.
Implementation
Future<void> setCustomKey(String key, Object value) async {
assert(value is int || value is num || value is String || value is bool);
return _delegate.setCustomKey(key, value.toString());
}