tuweni / org.apache.tuweni.config / Schema / getDefaultListOfMap

getDefaultListOfMap

@Nullable fun getDefaultListOfMap(key: String): MutableList<MutableMap<String, Any>>? (source)

Get a default value from this configuration as a list of maps.

Parameters

key - A configuration key (e.g. "mainnet.servers").

Exceptions

InvalidConfigurationPropertyTypeException - If the default value is not a list of maps.

Return
The value, or null if no default was available.