toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alignment != null) 'alignment': alignment!,
      if (alpha != null) 'alpha': alpha!,
      if (blurRadius != null) 'blurRadius': blurRadius!,
      if (color != null) 'color': color!,
      if (propertyState != null) 'propertyState': propertyState!,
      if (rotateWithShape != null) 'rotateWithShape': rotateWithShape!,
      if (transform != null) 'transform': transform!,
      if (type != null) 'type': type!,
    };