ListHoursOfOperationsResponse.fromJson constructor

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

Implementation

factory ListHoursOfOperationsResponse.fromJson(Map<String, dynamic> json) {
  return ListHoursOfOperationsResponse(
    hoursOfOperationSummaryList:
        (json['HoursOfOperationSummaryList'] as List?)
            ?.whereNotNull()
            .map((e) =>
                HoursOfOperationSummary.fromJson(e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}