StyleForBackground.fromJson(Map<String, dynamic> json) { border = json['border'] != null ? new PaywallBorder.fromJson(json['border']) : null; }