toStringThen method

String toStringThen(
  1. String prefix
)

Implementation

String toStringThen(String prefix) {
  if (_then == null || _then!.isEmpty) return '';
  if (_then!.length == 1) return '$prefix${_then!.first}';
  return '$prefix${_then!.join('.')}';
}