fromJson method

VplanDate fromJson (dynamic json)

Converts JSON into a VplanDate.

Implementation

static VplanDate fromJson(dynamic json) {
  return VplanDate(
    DateTime.fromMillisecondsSinceEpoch(json['date']),
    WeekTypeConverter.fromJson(json['week_type'])
  );
}