(string, textAttributes)
| 16 | } |
| 17 | |
| 18 | static fromString(string, textAttributes) { |
| 19 | const text = Text.textForStringWithAttributes(string, textAttributes) |
| 20 | return new this([ new Block(text) ]) |
| 21 | } |
| 22 | |
| 23 | constructor(blocks = []) { |
| 24 | super(...arguments) |
no test coverage detected