Weekday.fromJSON constructor

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

Implementation

factory Weekday.fromJSON(Map<String, dynamic> data) {
	return Weekday(
		weekNumber: (data["weekNumber"] as int?),
		weekday: data["weekday"] == null ? null : CodeStub.fromJSON(data["weekday"])
	);
}