launchEmail function
Implementation
Future<void> launchEmail(String recipients,
{String bcc = '',
String subject = '',
String body = '',
bool showError = false}) async {
return safeLaunchUrl(
'mailto:$recipients?bcc=$bcc&body=${Uri.encodeComponent(body)}&subject=${Uri.encodeComponent(subject)}',
showError: showError,
defaultErrorText: 'No email client found');
}