toEntity method

ShadowEntity toEntity({
  1. String? appId,
})

Implementation

ShadowEntity toEntity({String? appId}) {
  return ShadowEntity(
    color: (color != null) ? color!.toEntity(appId: appId) : null,
    offsetDX: (offsetDX != null) ? offsetDX : null,
    offsetDY: (offsetDY != null) ? offsetDY : null,
    spreadRadius: (spreadRadius != null) ? spreadRadius : null,
    blurRadius: (blurRadius != null) ? blurRadius : null,
  );
}