toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

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