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;
}