toJson method

Map<String, dynamic> toJson()

toJson is the convention for a class to declare support for serialization to JSON. The implementation simply calls the private, generated helper method _$MonthlyReportToJson.

Implementation

Map<String, dynamic> toJson() => _$MonthlyReportToJson(this);