getHtmlTag static method
Implementation
static String getHtmlTag(String componentName, Map<String, String> props) {
var propsString = "";
props.forEach((key, value) {
if (!["config", "events", "style"].contains(key)) {
propsString += "$key=\"$value\"";
}
});
return '''<pay-engine id="component" type="$componentName" style="z-index: 100" $propsString ></pay-engine>''';
}