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 - String!: A configuration key (e.g. "mainnet.servers").

Exceptions

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

Return
MutableList<MutableMap<String!, Any!>!>?: The value, or null if no default was available.