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 livePostfix = options.type == LinioLogType.live ? "[LIVE ‚óŹ]" : "";
  return "$log $livePostfix";
}