DueModel.fromJson constructor

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

Implementation

factory DueModel.fromJson(Map<String, dynamic> json) {
  return DueModel(
    date: json['date'] as String?,
    isRecurring: json['is_recurring'] as bool?,
    datetime: json['datetime'] as String?,
    string: json['string'] as String?,
    timezone: json['timezone'] as String?,
  );
}