ListQualificationRequestsResponse.fromJson constructor

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

Implementation

factory ListQualificationRequestsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListQualificationRequestsResponse(
    nextToken: json['NextToken'] as String?,
    numResults: json['NumResults'] as int?,
    qualificationRequests: (json['QualificationRequests'] as List?)
        ?.whereNotNull()
        .map((e) => QualificationRequest.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}