VisitorDto constructor
- required String id,
- required String siteId,
- String? email,
- String? name,
- String? phone,
- String? avatarUrl,
- String? externalId,
- Json customData = const {},
- HatangLocale? locale,
- DateTime? identifiedAt,
- String client = 'app',
- VisitorAppInfo? app,
- String? currentScreen,
- int visits = 1,
- Json raw = const {},
Creates a visitor.
Implementation
const VisitorDto({
required this.id,
required this.siteId,
this.email,
this.name,
this.phone,
this.avatarUrl,
this.externalId,
this.customData = const {},
this.locale,
this.identifiedAt,
this.client = 'app',
this.app,
this.currentScreen,
this.visits = 1,
this.raw = const {},
});