Allows you to serialize object.
Map<String, dynamic> toJson() => { "serviceUrl": serviceUrl, "failIfNoService": failIfNoService, "httpHeaders": httpHeaders }.clearNulls();