operator - method

Map operator -(
  1. dynamic value
)
inherited

return original data json

Implementation

Map operator -(dynamic value) {
  if (value is List) {
    utils_remove_by_keys_void(value);
  } else if (value is Set) {
    utils_remove_by_keys_void(value.toList());
  } else if (value is String) {
    utils_remove_by_keys_void([value]);
  } else if (value is num) {
    utils_remove_by_keys_void(["${value}"]);
  } else if (value is Map) {
    utils_remove_by_keys_void(value.keys.toList());
  }
  return rawData;
}