toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backgroundColorSuggested != null)
        'backgroundColorSuggested': backgroundColorSuggested!,
      if (baselineOffsetSuggested != null)
        'baselineOffsetSuggested': baselineOffsetSuggested!,
      if (boldSuggested != null) 'boldSuggested': boldSuggested!,
      if (fontSizeSuggested != null) 'fontSizeSuggested': fontSizeSuggested!,
      if (foregroundColorSuggested != null)
        'foregroundColorSuggested': foregroundColorSuggested!,
      if (italicSuggested != null) 'italicSuggested': italicSuggested!,
      if (linkSuggested != null) 'linkSuggested': linkSuggested!,
      if (smallCapsSuggested != null)
        'smallCapsSuggested': smallCapsSuggested!,
      if (strikethroughSuggested != null)
        'strikethroughSuggested': strikethroughSuggested!,
      if (underlineSuggested != null)
        'underlineSuggested': underlineSuggested!,
      if (weightedFontFamilySuggested != null)
        'weightedFontFamilySuggested': weightedFontFamilySuggested!,
    };