toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clipPercentLowerbound != null)
        'clipPercentLowerbound': clipPercentLowerbound!,
      if (clipPercentUpperbound != null)
        'clipPercentUpperbound': clipPercentUpperbound!,
      if (colorMap != null) 'colorMap': colorMap!,
      if (overlayType != null) 'overlayType': overlayType!,
      if (polarity != null) 'polarity': polarity!,
      if (type != null) 'type': type!,
    };