@NonNull static fun fromInt(value: Int): FlowSegmentStyle
Static method that takes the int value which will be searched for in enum. If the value is valid and exists, then the proper FlowSegmentStyle
will be returned, otherwise IllegalArgumentException
will be thrown.
value
- Int: An integer that will be searched in enum.