add method

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

Implementation

@override
Future<SectionModel> add(SectionModel value) {
  items.add(value.copyWith(documentID: newRandomKey()));
  trigger(items);
  return Future.value(value);
}