replaceSeparator method

String replaceSeparator()

Implementation

String replaceSeparator() =>
    replaceAll(RegExp(r'[\\/]+'), Platform.pathSeparator);