Suspension.fromJSON constructor
Implementation
factory Suspension.fromJSON(Map<String, dynamic> data) {
return Suspension(
beginMoment: (data["beginMoment"] as int?),
endMoment: (data["endMoment"] as int?),
suspensionReason: (data["suspensionReason"] as String?),
lifecycle: (data["lifecycle"] as String?)
);
}