EstimationConfigBean.fromJson constructor

EstimationConfigBean.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory EstimationConfigBean.fromJson(Map<String, Object?> json) {
  return EstimationConfigBean(
    type: json[r'type'] as String?,
    field: json[r'field'] != null
        ? EstimationConfigBeanField.fromJson(
            json[r'field']! as Map<String, Object?>)
        : null,
  );
}