toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final comparisonType = this.comparisonType;
  final description = this.description;
  final negativeColor = this.negativeColor;
  final negativeColorStyle = this.negativeColorStyle;
  final position = this.position;
  final positiveColor = this.positiveColor;
  final positiveColorStyle = this.positiveColorStyle;
  final textFormat = this.textFormat;
  return {
    'comparisonType': ?comparisonType,
    'description': ?description,
    'negativeColor': ?negativeColor,
    'negativeColorStyle': ?negativeColorStyle,
    'position': ?position,
    'positiveColor': ?positiveColor,
    'positiveColorStyle': ?positiveColorStyle,
    'textFormat': ?textFormat,
  };
}