RemoteConfig constructor
RemoteConfig({
- String? name,
- String? address,
- Frame? frame,
- RemoteAuth? auth,
- String? managedBy,
- bool? insecure,
- Duration? connectionCheckInterval,
- Duration? reconnectInterval,
- Iterable<
ResourceLevelServiceConfig> ? serviceConfigs, - String? secret,
Implementation
factory RemoteConfig({
$core.String? name,
$core.String? address,
Frame? frame,
RemoteAuth? auth,
$core.String? managedBy,
$core.bool? insecure,
$42.Duration? connectionCheckInterval,
$42.Duration? reconnectInterval,
$core.Iterable<ResourceLevelServiceConfig>? serviceConfigs,
$core.String? secret,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (address != null) {
$result.address = address;
}
if (frame != null) {
$result.frame = frame;
}
if (auth != null) {
$result.auth = auth;
}
if (managedBy != null) {
$result.managedBy = managedBy;
}
if (insecure != null) {
$result.insecure = insecure;
}
if (connectionCheckInterval != null) {
$result.connectionCheckInterval = connectionCheckInterval;
}
if (reconnectInterval != null) {
$result.reconnectInterval = reconnectInterval;
}
if (serviceConfigs != null) {
$result.serviceConfigs.addAll(serviceConfigs);
}
if (secret != null) {
$result.secret = secret;
}
return $result;
}