QueryCurrentEpochResponse.fromJson constructor

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

Implementation

factory QueryCurrentEpochResponse.fromJson(Map<String, dynamic> json) {
  return QueryCurrentEpochResponse(
    currentEpoch: json.valueAsBigInt<BigInt?>(
      'current_epoch',
      acceptCamelCase: true,
    ),
  );
}