WeeklyStartTime.fromJson constructor

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

Implementation

factory WeeklyStartTime.fromJson(Map<String, dynamic> json) {
  return WeeklyStartTime(
    dayOfWeek: (json['dayOfWeek'] as String?)?.toDayOfWeek(),
    timeOfDay: json['timeOfDay'] as String?,
    timeZone: json['timeZone'] as String?,
  );
}