getMailApps static method

Future<List<MailApp>> getMailApps()

Returns a list of installed email apps on the device

iOS: MailApp.iosLaunchScheme will be populated

Implementation

static Future<List<MailApp>> getMailApps() async {
  if (_isAndroid) {
    return await _getAndroidMailApps();
  } else if (_isIOS) {
    return await _getIosMailApps();
  } else {
    throw Exception('Platform not supported');
  }
}