getProficiency static method Null safety

Future<Proficiency?> getProficiency(
  1. {int? level}
)

Gets proficiency for level and name.