DescribeTestCasesOutput.fromJson constructor

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

Implementation

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