toJson method

Map<String, dynamic> toJson()

Implementation

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