switchAccount static method
Future<Map<String, dynamic> >
switchAccount(
- SwitchAccountParameters switchAccountParameters, {
- String configKey = 'default',
Implementation
static Future<Map<String, dynamic>> switchAccount(
SwitchAccountParameters switchAccountParameters, {
String configKey = 'default',
}) =>
_guardFuture(() async {
_logAction('switchAccount');
final result = await window.wagmiCore
.switchAccount(
configKey.toJS,
switchAccountParameters.toJS,
)
.toDart;
return result.toMap();
});