getMapper method

TaskModelMapper? getMapper(
  1. String? identifier
)

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;
}