eol property
String
get
eol
Returns the OS specific End Of Line (eol) character. On Windows this is '\r\n' on all other platforms it is '\n'. Usage: Platform().eol
Note: you must import both:
import 'dart:io';
import 'package:dcli/dcli.dart';
Implementation
String get eol => DCliPlatform().isWindows ? '\r\n' : '\n';