toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (aggregation != null) 'aggregation': aggregation!,
  if (category != null) 'category': category!,
  if (derived != null) 'derived': derived!,
  if (displayLabel != null) 'displayLabel': displayLabel!,
  if (hasNonzeroData != null) 'hasNonzeroData': hasNonzeroData!,
  if (hotValue != null) 'hotValue': hotValue!,
  if (indexedHotKeys != null) 'indexedHotKeys': indexedHotKeys!,
  if (indexedKeyRangeInfos != null)
    'indexedKeyRangeInfos': indexedKeyRangeInfos!,
  if (info != null) 'info': info!,
  if (matrix != null) 'matrix': matrix!,
  if (unit != null) 'unit': unit!,
  if (visible != null) 'visible': visible!,
};