getSlash property Null safety

String getSlash

Getter used to change "" to "/" in paths if Windows is the platform.

Implementation

String get getSlash => Platform.isWindows ? r'\' : '/';