Periodicity.fromJSON constructor
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"])
);
}