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