ADAEpochInfoResponse.fromJson constructor

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

Implementation

factory ADAEpochInfoResponse.fromJson(Map<String, dynamic> json) {
  return ADAEpochInfoResponse(
    epoch: json['epoch'],
    startTime: json['start_time'],
    endTime: json['end_time'],
    firstBlockTime: json['first_block_time'],
    lastBlockTime: json['last_block_time'],
    blockCount: json['block_count'],
    txCount: json['tx_count'],
    output: json['output'],
    fees: json['fees'],
    activeStake: json['active_stake'],
  );
}