Constructor with some configuration options for the mock service.
Adds a given word to the blocklist. Words are saved lowercase without duplicates.
the word to be added to the blocklist
Returns all entries of the blocklist.
The whole blocklist
The name of the service.
Observes the blocklist and returns the whole list when words are added or removed.
The whole blocklist
Removes a given word from the blocklist.
the word to be removed from the blocklist
Mock BlocklistService for use in example app.
The service provides an empty list and adds the words, that are present in the default example app editor after a short period of time.