installedApps method
Mail apps installed on the device.
Implementation
@override
Future<List<MailApp>> installedApps() async {
final apps = await methodChannel.invokeListMethod<Object?>('installedApps');
return (apps ?? const [])
.whereType<Map<Object?, Object?>>()
.map(MailApp.fromMap)
.where((app) => app.id.isNotEmpty)
.toList(growable: false);
}