GetTestMatrixResult.fromMap constructor

GetTestMatrixResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetTestMatrixResult.fromMap(Map<String, dynamic> map) {
  return GetTestMatrixResult(
    clientInfo: ClientInfoResponse.fromMap((map['clientInfo']! as Map).cast<String, dynamic>()),
    environmentMatrix: EnvironmentMatrixResponse.fromMap((map['environmentMatrix']! as Map).cast<String, dynamic>()),
    failFast: map['failFast'] as bool,
    flakyTestAttempts: map['flakyTestAttempts'] as int,
    invalidMatrixDetails: map['invalidMatrixDetails'] as String,
    outcomeSummary: map['outcomeSummary'] as String,
    project: map['project'] as String,
    resultStorage: ResultStorageResponse.fromMap((map['resultStorage']! as Map).cast<String, dynamic>()),
    state: map['state'] as String,
    testExecutions: pulumi.Input.decodeList<TestExecutionResponse>(map['testExecutions']!, (value) => TestExecutionResponse.fromMap((value as Map).cast<String, dynamic>())),
    testMatrixId: map['testMatrixId'] as String,
    testSpecification: TestSpecificationResponse.fromMap((map['testSpecification']! as Map).cast<String, dynamic>()),
    timestamp: map['timestamp'] as String,
  );
}