add method

  1. @override
Future<HomeMenuModel> add(
  1. HomeMenuModel value
)
override

Implementation

@override
Future<HomeMenuModel> add(HomeMenuModel value) {
  return homeMenuCollection
      .doc(value.documentID)
      .set(value.toEntity(appId: appId).toDocument())
      .then((_) => value);
}