deleteAccount method
删除指定账号 account 账号标识 accountType 账号类型枚举
Implementation
void deleteAccount(String account, AccountType accountType) {
String _accountType = accountType.toString().split('.').last;
if (Platform.isIOS) {
_channel.invokeMethod('deleteAccount',
<String, dynamic>{'account': account, 'accountType': _accountType});
} else {
xgApi.delAccountWithType(account: account, accountType: _accountType);
}
}