sensitiveKeys property

Set<String> get sensitiveKeys

Extra field names to mask, in addition to the built-in ones (passwords, tokens, keys, cookies, card data…):

DioDebugLogger.sensitiveKeys.addAll({'national_id', 'iban'});

Implementation

static Set<String> get sensitiveKeys => Redaction.extraKeys;