Analytics.fromJson constructor
Analytics.toJson() factory constructor.
Implementation
factory Analytics.fromJson(Map<String, dynamic> json) => Analytics(
onload: json['onload'] == null
? null
: Onclick.fromJson(
json['onload'] as Map<String, dynamic>,
),
onclick: json['onclick'] == null
? null
: Onclick.fromJson(
json['onclick'] as Map<String, dynamic>,
),
onsent: json['onsent'] == null
? null
: Onclick.fromJson(
json['onsent'] as Map<String, dynamic>,
),
);