HoldoutActivity.fromJson constructor

HoldoutActivity.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HoldoutActivity.fromJson(Map<String, dynamic> json) {
  return HoldoutActivity(
    percentage: json['Percentage'] as int,
    nextActivity: json['NextActivity'] as String?,
  );
}