@NonNull static fun fromInt(value: Int): FlowSegmentSpeedUnit
Static method used to search if the passed value is a valid speed unit type and returns FlowSegmentSpeedUnit. If the value passed is invalid, then IllegalArgumentException is thrown.
value - Int: An integer to be searched.