fromString static method
Implementation
static Tag fromString(String legacyTag) {
final parts = legacyTag.split(':');
String key, value;
if (parts.length == 2) {
key = parts[0];
value = parts[1];
} else {
key = 'default';
value = parts[0];
}
return Tag(
key: key,
value: value,
ttl: 0,
strategy: "append",
);
}