TaskList.fromJson constructor

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

Implementation

factory TaskList.fromJson(Map<String, dynamic> json) {
  return TaskList(
    name: json['name'] as String,
  );
}