GetUsageStatisticsResponse.fromJson constructor

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

Implementation

factory GetUsageStatisticsResponse.fromJson(Map<String, dynamic> json) {
  return GetUsageStatisticsResponse(
    nextToken: json['nextToken'] as String?,
    usageStatistics: json['usageStatistics'] != null
        ? UsageStatistics.fromJson(
            json['usageStatistics'] as Map<String, dynamic>)
        : null,
  );
}