ADAGenesisParametersResponse.fromJson constructor

ADAGenesisParametersResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ADAGenesisParametersResponse.fromJson(Map<String, dynamic> json) {
  return ADAGenesisParametersResponse(
    activeSlotsCoefficient: json['active_slots_coefficient'],
    updateQuorum: json['update_quorum'],
    maxLovelaceSupply: json['max_lovelace_supply'],
    networkMagic: json['network_magic'],
    epochLength: json['epoch_length'],
    systemStart: json['system_start'],
    slotsPerKesPeriod: json['slots_per_kes_period'],
    slotLength: json['slot_length'],
    maxKesEvolutions: json['max_kes_evolutions'],
    securityParam: json['security_param'],
  );
}