CreateConstraintOutput.fromJson constructor

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

Implementation

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