FingerprintJSProExtendedResponse.fromJsObject constructor

FingerprintJSProExtendedResponse.fromJsObject(
  1. dynamic jsObject
)

Creates class instance from JavaScript object

Implementation

FingerprintJSProExtendedResponse.fromJsObject(super.jsObject)
    : visitorFound = jsObject.visitorFound,
      ipAddress = jsObject.ip,
      ipLocation = jsObject.ipLocation
          ? IpLocation.fromJsObject(jsObject.ipLocation)
          : null,
      osName = jsObject.os,
      osVersion = jsObject.osVersion,
      device = jsObject.device,
      firstSeenAt = StSeenAt.fromJsObject(jsObject.firstSeenAt),
      lastSeenAt = StSeenAt.fromJsObject(jsObject.lastSeenAt),
      super.fromJsObject();