clrd property

String? get clrd

Get if contamination have ceased to exists in some runway as string.

Implementation

String? get clrd {
  final clrdText = 'contaminations have ceased to exists';

  if (!_clrd) {
    return null;
  }

  if (_name == 'repeated') {
    return '$clrdText on previous runway';
  }

  if (_name == 'all runways') {
    return '$clrdText on $_name';
  }

  return '$clrdText on runway $_name';
}