RemoteSecondary constructor
RemoteSecondary(
- String atSign,
- AtClientPreference preference, {
- String? privateKey,
Implementation
RemoteSecondary(String atSign, AtClientPreference preference,
{String? privateKey}) {
_atSign = AtUtils.formatAtSign(atSign)!;
_preference = preference;
privateKey ??= preference.privateKey;
atLookUp = AtLookupImpl(atSign, preference.rootDomain, preference.rootPort,
privateKey: privateKey, cramSecret: preference.cramSecret);
atLookupSync = AtLookupSync(
atSign, preference.rootDomain, preference.rootPort,
privateKey: atLookUp.privateKey, cramSecret: preference.cramSecret);
}