Section.fromJSON constructor

Section.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory Section.fromJSON(Map<String, dynamic> data) {
	return Section(
		(data["section"] as String),
		(data["fields"] as List<dynamic>).map((x0) => StructureElement.fromJSON(x0) ).toList(),
		description: (data["description"] as String?),
		keywords: (data["keywords"] as List<dynamic>?)?.map((x0) => (x0 as String) ).toList(),
	);
}