testTaskCreate function
Implementation
Future testTaskCreate() async {
final ref = await Task.create(title: 'fisrt task');
final created = await Task.get(ref.id) as Task;
isTrue(created.title == 'fisrt task', 'title is not correct');
}
Future testTaskCreate() async {
final ref = await Task.create(title: 'fisrt task');
final created = await Task.get(ref.id) as Task;
isTrue(created.title == 'fisrt task', 'title is not correct');
}