LocationAuth constructor
LocationAuth({
- @Deprecated('This field is deprecated.') String? secret,
- String? locationId,
- Iterable<
SharedSecret> ? secrets,
Implementation
factory LocationAuth({
@$core.Deprecated('This field is deprecated.')
$core.String? secret,
$core.String? locationId,
$core.Iterable<SharedSecret>? secrets,
}) {
final $result = create();
if (secret != null) {
// ignore: deprecated_member_use_from_same_package
$result.secret = secret;
}
if (locationId != null) {
$result.locationId = locationId;
}
if (secrets != null) {
$result.secrets.addAll(secrets);
}
return $result;
}