LabelledOccurence.fromJSON constructor

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

Implementation

factory LabelledOccurence.fromJSON(Map<String, dynamic> data) {
	return LabelledOccurence(
		(data["label"] as String),
		(data["occurence"] as int)
	);
}