Text constructor
- String data
Implementation
factory Text(String data) => JS(
'returns:Text;depends:none;effects:none;new:true',
'#.createTextNode(#)',
document,
data);
factory Text(String data) => JS(
'returns:Text;depends:none;effects:none;new:true',
'#.createTextNode(#)',
document,
data);