parse

open fun parse(@Nullable providerType: String): ProviderType

Parses a string into a ProviderType enum value. Case-insensitive matching is performed.

Return

The matching ProviderType, or null if no match is found

Parameters

providerType

The string to parse