toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (colorSuggested != null) 'colorSuggested': colorSuggested!,
      if (dashStyleSuggested != null)
        'dashStyleSuggested': dashStyleSuggested!,
      if (propertyStateSuggested != null)
        'propertyStateSuggested': propertyStateSuggested!,
      if (widthSuggested != null) 'widthSuggested': widthSuggested!,
    };