toHackleUser method

HackleUser toHackleUser()

Implementation

HackleUser toHackleUser() {
  return HackleUser._(
    id: this["id"],
    userId: this["userId"],
    deviceId: this["deviceId"],
    identifiers: this["identifiers"] != null
        ? Map<String, String>.from(this["identifiers"])
        : null,
    properties: this["properties"] != null
        ? Map<String, Object>.from(this["properties"])
        : null,
  );
}