toMap

fun toMap(): Map<String, Any?>

Convert ScreenState to a map for comparison purposes.