AwsCodeBuildProjectEnvironment.fromJson constructor

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

Implementation

factory AwsCodeBuildProjectEnvironment.fromJson(Map<String, dynamic> json) {
  return AwsCodeBuildProjectEnvironment(
    certificate: json['Certificate'] as String?,
    imagePullCredentialsType: json['ImagePullCredentialsType'] as String?,
    registryCredential: json['RegistryCredential'] != null
        ? AwsCodeBuildProjectEnvironmentRegistryCredential.fromJson(
            json['RegistryCredential'] as Map<String, dynamic>)
        : null,
    type: json['Type'] as String?,
  );
}