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