Suspension.fromJSON constructor

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

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?)
	);
}