toDebugMap method

Map<String, Object?> toDebugMap({
  1. bool noName = false,
})

Debug map

Implementation

Map<String, Object?> toDebugMap({bool noName = false}) {
  final map = <String, Object?>{
    if (!noName) 'name': name,
    if (unique) 'unique': unique,
  };
  _debugMapAddKeyPath(map, keyPath);
  return map;
}