UserAgent constructor

UserAgent({
  1. String? fingerprintId,
  2. String? ip,
  3. String? description,
  4. Map<String, UserAgent_HeaderValues>? header,
})

Implementation

factory UserAgent({
  $core.String? fingerprintId,
  $core.String? ip,
  $core.String? description,
  $core.Map<$core.String, UserAgent_HeaderValues>? header,
}) {
  final $result = create();
  if (fingerprintId != null) {
    $result.fingerprintId = fingerprintId;
  }
  if (ip != null) {
    $result.ip = ip;
  }
  if (description != null) {
    $result.description = description;
  }
  if (header != null) {
    $result.header.addAll(header);
  }
  return $result;
}