templates property
Implementation
static Map<String, String> templates = {
"show_notification_image": '''
<?xml version="1.0" encoding="utf-8"?>
<toast activationType="protocol">
<visual>
<binding template="ToastGeneric">
<text id="1">Test message</text>
<text id="2">Test message</text>
<image placement="appLogoOverride" hint-crop="circle" id="1"/>
<image src='#1#'/>
</binding>
</visual>
</toast>
''',
"show_notification": '''
<?xml version="1.0" encoding="utf-8"?>
<toast activationType="protocol">
<visual>
<binding template="ToastGeneric">
<text id="1">Test message</text>
<text id="2">Test message</text>
<image src='#1#'/>
</binding>
</visual>
</toast>
'''
};