toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aggregateType != null) 'aggregateType': aggregateType!,
      if (baselineValueData != null) 'baselineValueData': baselineValueData!,
      if (baselineValueFormat != null)
        'baselineValueFormat': baselineValueFormat!,
      if (customFormatOptions != null)
        'customFormatOptions': customFormatOptions!,
      if (keyValueData != null) 'keyValueData': keyValueData!,
      if (keyValueFormat != null) 'keyValueFormat': keyValueFormat!,
      if (numberFormatSource != null)
        'numberFormatSource': numberFormatSource!,
      if (scaleFactor != null) 'scaleFactor': scaleFactor!,
    };