getAllEmailAccounts method
Implementation
@override
Future<List<Account>> getAllEmailAccounts() async {
final List<dynamic>? accounts = await methodChannel
.invokeMethod<List<dynamic>>('getAllEmailAccounts');
return accounts
?.map((e) => Account.fromMap(Map<String, dynamic>.from(e)))
.toList() ??
[];
}