ConsolidatedValue<T>.fromJson constructor
Returns a ConsolidatedValue type from a JSON
Implementation
factory ConsolidatedValue.fromJson(Map<String, dynamic> data) {
var self = ConsolidatedValue<T>._();
self._map["value"] = data['value'];
self._map["confidence"] = data['confidence'] ??
{throw ArgumentError('confidence should not be null')};
self._map["source"] = data['source'] == null
? null
: Map<String, dynamic>.from(data['source']);
return self;
}