add method

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

Implementation

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