requireField

inline fun <T> T?.requireField(fieldName: String): T