LearningCentre.fromJson constructor
- List json
Implementation
LearningCentre.fromJson(List json) {
learningTopics = json
.map((e) => LearningTopic.fromJson(e))
.toList()
.cast<LearningTopic>();
}
LearningCentre.fromJson(List json) {
learningTopics = json
.map((e) => LearningTopic.fromJson(e))
.toList()
.cast<LearningTopic>();
}