private String getIntPropertyAsString(ReadableMap map, String key) {
        if (map.hasKey(key)) {
            if (map.getType(key) == ReadableType.String) {
                return map.getString(key);
            } else if (map.getType(key) == ReadableType.Number) {
                return Integer.toString(map.getInt(key));
            }
        }
        return null;
    }
This method tries to return the int property pointed to by the key as a String from the map.
@param map the property map
@param key the key of the property we want
@return a String or null
android/viro_bridge/src/main/java/com/viromedia/bridge/module/AnimationManager.java