Map<String, dynamic> toJson() => { 'transform': transform, 'opacity': opacity, 'alignment': alignment, };