sendEmail function
- required String email,
Opens the device's email client pre-addressed to email.
Throws an ExternalLaunchException if no email client is available or
the mailto scheme cannot be launched on this device.
Implementation
Future<void> sendEmail({required String email}) async {
final Uri uri = Uri(scheme: 'mailto', path: email);
await _launchExternalUri(uri, action: 'send_email', mode: LaunchMode.platformDefault);
}