add method

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

Implementation

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