getMapper method Null safety

ActionModelMapper? getMapper(
  1. String? actionType
)

Implementation

ActionModelMapper? getMapper(String? actionType) {
  return mappers[actionType!];
}