Periodicity.fromJSON constructor

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

Implementation

factory Periodicity.fromJSON(Map<String, dynamic> data) {
	return Periodicity(
		relatedCode: data["relatedCode"] == null ? null : CodeStub.fromJSON(data["relatedCode"]),
		relatedPeriodicity: data["relatedPeriodicity"] == null ? null : CodeStub.fromJSON(data["relatedPeriodicity"])
	);
}