createUri function
Generates A Uri from a raw HtML string
Implementation
Uri createUri(PayloadModel payload, WebViewState webViewState) {
return Uri.dataFromString(initRequest(payload, "==", '', webViewState),
encoding: Encoding.getByName('utf-8'), mimeType: 'text/html');
}