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