LearningCentre.fromJson constructor

LearningCentre.fromJson(
  1. List json
)

Implementation

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