MonthlyReport.fromJson constructor

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

A necessary factory constructor for creating a new User instance from a map. Pass the map to the generated _$MonthlyReportFromJson() constructor. The constructor is named after the source class, in this case, User.

Implementation

factory MonthlyReport.fromJson(Map<String, dynamic> json) =>
    _$MonthlyReportFromJson(json);