normalize static method

String normalize(
  1. String path
)

Normalizes path by replacing backslashes with forward slashes.

Implementation

static String normalize(String path) => path.replaceAll('\\', '/');