addEntity method
Implementation
@override
Future<DynamicWidgetEntity> addEntity(
String documentID, DynamicWidgetEntity value) {
return dynamicWidgetCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}
@override
Future<DynamicWidgetEntity> addEntity(
String documentID, DynamicWidgetEntity value) {
return dynamicWidgetCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}