showDashIfEmpty property

String get showDashIfEmpty

Add prefix if not empty else return empty string

Implementation

String get showDashIfEmpty => isEmpty ? '-' : this;