Map<String, dynamic> toJson() { final status = this.status; return { if (status != null) 'Status': status.toValue(), }; }