DescribeJobDefinitionsResponse.fromJson constructor

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

Implementation

factory DescribeJobDefinitionsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeJobDefinitionsResponse(
    jobDefinitions: (json['jobDefinitions'] as List?)
        ?.whereNotNull()
        .map((e) => JobDefinition.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}