ProvisioningArtifactParameter.fromJson constructor

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

Implementation

factory ProvisioningArtifactParameter.fromJson(Map<String, dynamic> json) {
  return ProvisioningArtifactParameter(
    defaultValue: json['DefaultValue'] as String?,
    description: json['Description'] as String?,
    isNoEcho: json['IsNoEcho'] as bool?,
    parameterConstraints: json['ParameterConstraints'] != null
        ? ParameterConstraints.fromJson(
            json['ParameterConstraints'] as Map<String, dynamic>)
        : null,
    parameterKey: json['ParameterKey'] as String?,
    parameterType: json['ParameterType'] as String?,
  );
}