ValidatorConfig.fromJson constructor

ValidatorConfig.fromJson(
  1. Map json_
)

Implementation

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