UserExperimentVariant.fromJson constructor
Implementation
factory UserExperimentVariant.fromJson(Map<String, dynamic> json) {
return UserExperimentVariant(
experimentId: json['experimentId'],
experimentName: json['experimentName'],
variantId: json['variantId'],
variantName: json['variantName'],
variantWeight: json['variantWeight'],
payload: json['payload'] != null ? Map<String, dynamic>.from(json['payload']) : null,
);
}