ValidatorConfig.fromJson constructor
ValidatorConfig.fromJson(
- Map json_
Implementation
ValidatorConfig.fromJson(core.Map json_)
: this(
beaconFeeRecipient: json_.containsKey('beaconFeeRecipient')
? json_['beaconFeeRecipient'] as core.String
: null,
managedValidatorClient: json_.containsKey('managedValidatorClient')
? json_['managedValidatorClient'] as core.bool
: null,
mevRelayUrls: json_.containsKey('mevRelayUrls')
? (json_['mevRelayUrls'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);