loadAccounts method
Future<List<MSALAccount> ?>
loadAccounts([
- MSALAccountEnumerationParameters? enumerationParameters
Implementation
Future<List<MSALAccount>?> loadAccounts(
[MSALAccountEnumerationParameters? enumerationParameters]) async {
try {
final result = await _channel.invokeMethod<List>(
'loadAccounts', enumerationParameters?.toMap());
return result
?.map((e) => MSALAccount.fromMap(Map<String, dynamic>.from(e)))
.toList();
} on PlatformException catch (e) {
throw _convertException(e);
}
}