decodeProvider

fun decodeProvider(json: JsonElement): DappProvider

Decodes a Provider. An unknown providerType is rejected rather than dropped.