toJson method

Map<String, dynamic> toJson()

Implementation

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