YearLog.fromMap constructor

YearLog.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory YearLog.fromMap(Map<String, dynamic> json) => YearLog(
      year: json["year"],
      months: List<MonthLog>.from(json["months"].map((dynamic x) => MonthLog.fromMap(x))),
    );