ListAttribute.todo constructor

const ListAttribute.todo([
  1. bool checked = false
])

Implementation

const ListAttribute.todo([
  bool checked = false,
]) : super(
        value: checked ? 'todo-checked' : 'todo',
      );