add method

Add a AssignmentModel to the repository, cached

Implementation

@override
Future<AssignmentModel> add(AssignmentModel value) {
  return reference.add(value).then((newValue) {
    fullCache[value.documentID] = newValue;
    return newValue;
  });
}