prepareHeader method Null safety

  1. @override
String prepareHeader(
  1. ArgResults command,
  2. String log,
  3. LinioOptions options
)
override

Implementation

@override
String prepareHeader(ArgResults command, String log, LinioOptions options) {
  final currentTime = dateTimeProvider.datetime;
  return "${currentTime.difference(upTimeStart).toString().split('.').first.padLeft(8, "0")} $log";
}