putStyleProperty method
Implementation
void putStyleProperty(String stylePropertyKey, String value) {
if (tag == null) {
throw Exception("Cannot add style property to plaintext node!");
}
Tag t = tag!;
t.styleProperties[stylePropertyKey] = value;
}