Schedule.fromJson constructor

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

Implementation

factory Schedule.fromJson(Map<String, dynamic> json) {
  return Schedule(
    scheduleExpression: json['ScheduleExpression'] as String?,
    state: (json['State'] as String?)?.toScheduleState(),
  );
}