fromJson static method
Implementation
static ConversionEvent fromJson(Map<String, dynamic> json) {
return ConversionEvent(
id: json['id'],
nodeID: json['node_id'],
projectID: json['project_id'],
trigger: Trigger.fromString(json['trigger']) ?? Trigger.onLoad,
properties: json['properties'],
createdAt: DateTime.parse(json['created_at']),
);
}