GetMinuteUsageResponse.fromJson constructor

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

Implementation

factory GetMinuteUsageResponse.fromJson(Map<String, dynamic> json) {
  return GetMinuteUsageResponse(
    estimatedMinutesRemaining: json['estimatedMinutesRemaining'] as int?,
    isReservedMinutesCustomer: json['isReservedMinutesCustomer'] as bool?,
    totalReservedMinuteAllocation:
        json['totalReservedMinuteAllocation'] as int?,
    totalScheduledMinutes: json['totalScheduledMinutes'] as int?,
    upcomingMinutesScheduled: json['upcomingMinutesScheduled'] as int?,
  );
}