map static method

dynamic map(
  1. Map? map, {
  2. String? mark,
  3. bool isExpand = false,
  4. LogOption? option,
})

The output of the log key-value pair collection type.

Implementation

static map(Map<dynamic, dynamic>? map,
    {String? mark, bool isExpand = false, LogOption? option}) {
  if (IDKitLog.instance.optionLog.isEnable ?? true && map.isNoNull) {
    final LogOption vOption = IDKitLog.instance.optionLog.copy(option);
    final StackTrace stackTrace = StackTrace.current;
    TLog.outPutModeMethod(vOption, stackTrace, LogMethod.map,
        mark: mark, map: map, isExpand: isExpand);
  }
}