ClientDetails constructor

ClientDetails({
  1. Sdk? sdk,
  2. OS? os,
  3. Browser? browser,
  4. Device? device,
})

Implementation

factory ClientDetails({
  Sdk? sdk,
  OS? os,
  Browser? browser,
  Device? device,
}) {
  final $result = create();
  if (sdk != null) {
    $result.sdk = sdk;
  }
  if (os != null) {
    $result.os = os;
  }
  if (browser != null) {
    $result.browser = browser;
  }
  if (device != null) {
    $result.device = device;
  }
  return $result;
}