LocationAuth constructor

LocationAuth({
  1. @Deprecated('This field is deprecated.') String? secret,
  2. String? locationId,
  3. 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;
}