Schedule.fromJson constructor

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

Implementation

factory Schedule.fromJson(Map<String, Object?> json) => Schedule(
      startsAt: decodeDateTime(json['starts_at']),
      endsAt: decodeDateTime(json['ends_at']),
      visibility: Visibility.fromJson(json['visibility']),
    );