toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final httpEndpoint = this.httpEndpoint;
  final httpPutResponseHopLimit = this.httpPutResponseHopLimit;
  final httpTokens = this.httpTokens;
  return {
    if (httpEndpoint != null) 'HttpEndpoint': httpEndpoint.toValue(),
    if (httpPutResponseHopLimit != null)
      'HttpPutResponseHopLimit': httpPutResponseHopLimit,
    if (httpTokens != null) 'HttpTokens': httpTokens.toValue(),
  };
}