ConstraintDetail.fromJson constructor

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

Implementation

factory ConstraintDetail.fromJson(Map<String, dynamic> json) {
  return ConstraintDetail(
    constraintId: json['ConstraintId'] as String?,
    description: json['Description'] as String?,
    owner: json['Owner'] as String?,
    portfolioId: json['PortfolioId'] as String?,
    productId: json['ProductId'] as String?,
    type: json['Type'] as String?,
  );
}