On this page
Text constructor
- String data
Implementation
factory Text(String data) => JS(
'returns:Text;depends:none;effects:none;new:true',
'#.createTextNode(#)',
document,
data);
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/Text/Text.html