Module.fromJson constructor
Module.fromJson(
- YamlMap json
Implementation
factory Module.fromJson(YamlMap json) => Module(
name: json['name'],
structure: List<YamlMap>.from(json['structure'])
.map<StructureModel>((element) => StructureModel.fromJson(element)),
feature: List<YamlMap>.from(json['feature'])
.map<FeatureModel>((element) => FeatureModel.fromJson(element)),
);