buildAsString method

String buildAsString(
  1. Object? context, {
  2. bool resolveDSX = true,
  3. QueryElementProvider? elementProvider,
  4. IntlMessageResolver? intlMessageResolver,
})

Implementation

String buildAsString(Object? context,
    {bool resolveDSX = true,
    QueryElementProvider? elementProvider,
    IntlMessageResolver? intlMessageResolver}) {
  var built = build(context,
      asElement: false,
      resolveDSX: resolveDSX,
      elementProvider: elementProvider,
      intlMessageResolver: intlMessageResolver);

  var s = DOMTemplate.objectToString(built);
  return s;
}