fromJSON static method

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

Implementation

static Section fromJSON(Map<String, dynamic> data) {
	return Section(
		section: (data["section"] as String),
		fields: (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(),
	);
}