YData.fromJson constructor
Implementation
factory YData.fromJson(Map<String, dynamic> json) {
var r = YData(
title: json['TITLE'] ?? '',
unit: json['UNIT'] ?? '',
yDisplay: json['Y_DISPLAY'] ?? '',
y: _fromString(json['Y']),
);
return r;
}