getMapper method
Implementation
TaskModelMapper? getMapper(String? identifier) {
if (identifier == null) throw Exception("No identifier specified");
var taskDetails = tasks[identifier];
if (taskDetails == null) return null;
return taskDetails.mapper;
}