ModelDataQuality.fromJson constructor

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

Implementation

factory ModelDataQuality.fromJson(Map<String, dynamic> json) {
  return ModelDataQuality(
    constraints: json['Constraints'] != null
        ? MetricsSource.fromJson(json['Constraints'] as Map<String, dynamic>)
        : null,
    statistics: json['Statistics'] != null
        ? MetricsSource.fromJson(json['Statistics'] as Map<String, dynamic>)
        : null,
  );
}