DescribeConstraintOutput.fromJson constructor

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

Implementation

factory DescribeConstraintOutput.fromJson(Map<String, dynamic> json) {
  return DescribeConstraintOutput(
    constraintDetail: json['ConstraintDetail'] != null
        ? ConstraintDetail.fromJson(
            json['ConstraintDetail'] as Map<String, dynamic>)
        : null,
    constraintParameters: json['ConstraintParameters'] as String?,
    status: (json['Status'] as String?)?.toStatus(),
  );
}