preFillForm static method
preFillForm
Prefills a form with the given data.
Params
formData
The data to prefill the form with.
Available Platforms
Android, iOS, Web
Implementation
static Future<void> preFillForm({
required Map<String, dynamic> formData,
}) async {
if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
debugPrint('preFillForm is not available for current operating system');
return;
}
await _channel.invokeMethod(
'preFillForm',
{'formData': formData},
);
}