GetDomainStatisticsReportResponse.fromJson constructor

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

Implementation

factory GetDomainStatisticsReportResponse.fromJson(
    Map<String, dynamic> json) {
  return GetDomainStatisticsReportResponse(
    dailyVolumes: (json['DailyVolumes'] as List)
        .whereNotNull()
        .map((e) => DailyVolume.fromJson(e as Map<String, dynamic>))
        .toList(),
    overallVolume:
        OverallVolume.fromJson(json['OverallVolume'] as Map<String, dynamic>),
  );
}