launchMail function
- String? email
Implementation
void launchMail(String? email) {
if (email.validate().isNotEmpty) {
if (isIOS) {
commonLaunchUrl('mailto:${email}',
launchMode: LaunchMode.externalApplication);
} else
commonLaunchUrl('mailto:${email}',
launchMode: LaunchMode.externalApplication);
}
}