toJson method

Map toJson()

Implementation

Map toJson() => {
      if (geometryType != null)  'geometryType': geometryType?.toStringValue(),
      if (geometryTypeRadius != null)  'geometryTypeRadius': geometryTypeRadius,
      'strokeWidth': strokeWidth,
      if (strokeFaceNotAlignedColor != null)  'strokeFaceNotAlignedColor': strokeFaceNotAlignedColor,
      if (strokeFaceAlignedColor != null)   'strokeFaceAlignedColor': strokeFaceAlignedColor,
      'strokeAlpha': strokeAlpha,
      'strokePadding': strokePadding,
    };