DeleteBuildBatchOutput.fromJson constructor

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

Implementation

factory DeleteBuildBatchOutput.fromJson(Map<String, dynamic> json) {
  return DeleteBuildBatchOutput(
    buildsDeleted: (json['buildsDeleted'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    buildsNotDeleted: (json['buildsNotDeleted'] as List?)
        ?.whereNotNull()
        .map((e) => BuildNotDeleted.fromJson(e as Map<String, dynamic>))
        .toList(),
    statusCode: json['statusCode'] as String?,
  );
}