RandomSplitActivity.fromJson constructor

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

Implementation

factory RandomSplitActivity.fromJson(Map<String, dynamic> json) {
  return RandomSplitActivity(
    branches: (json['Branches'] as List?)
        ?.whereNotNull()
        .map((e) => RandomSplitEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}