toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'experimentId': experimentId,
'experimentName': experimentName,
'variantId': variantId,
'variantName': variantName,
'variantWeight': variantWeight,
'payload': payload,
};
}