blob: 37aecb4e7bb943772930c780cbc1112a624dc0e9 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:uuid/uuid.dart';
class TodoModel {
TodoModel({this.id, this.title, this.completed: false}) {
id ??= new Uuid().v4();
}
String id;
String title;
bool completed;
Key get key => new ObjectKey(this);
}