shows property

String get shows

Implementation

String get shows {
  if(this.series == null || (this.nr == null && this.variant == null)) return "";

  String series_i = this.series!.replaceAll(" ", "-");
  String nr = this.nr == null ? "" : "-${this.nr}";
  String variant = this.variant == null ? "" : "-${this.variant}";

  return "$series_i$nr$variant";
}