LeaderSchedule.fromJson constructor

LeaderSchedule.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LeaderSchedule.fromJson(Map<String, dynamic> json) {
  return LeaderSchedule(values: {
    for (final i in json.entries) i.key: (i.value as List).cast()
  });
}