add method

Add a PlatformMediumModel to the repository, cached

Implementation

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