asStringPair method

Pair<String, String> asStringPair()

Implementation

Pair<String, String> asStringPair() {
  var parts = value.split("-");
  return Pair(parts[parts.length - 2], parts[parts.length - 1]);
}