EraParameters.fromJson constructor

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

Implementation

factory EraParameters.fromJson(Map<String, dynamic> json) {
  return EraParameters(
    epochLength: json['epoch_length'],
    slotLength: json['slot_length'],
    safeZone: json['safe_zone'],
  );
}