catalogRemoveValueByPath function

bool catalogRemoveValueByPath(
  1. Map<String, dynamic> map,
  2. String keyPath
)

Implementation

bool catalogRemoveValueByPath(Map<String, dynamic> map, String keyPath) {
  final parts = keyPath.split('.');
  if (parts.isEmpty) return false;
  return _removeRecursive(map, parts, 0);
}