add method
Implementation
@override
Future<AssignmentModel> add(AssignmentModel value) {
items.add(value.copyWith(documentID: newRandomKey()));
trigger(items);
return Future.value(value);
}
@override
Future<AssignmentModel> add(AssignmentModel value) {
items.add(value.copyWith(documentID: newRandomKey()));
trigger(items);
return Future.value(value);
}