Text this: Constitutive modeling of the slip-twinning transition in martensitic transformations