toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.protocol != null) {
    json[r'protocol'] = this.protocol;
  } else {
    json[r'protocol'] = null;
  }
  if (this.connection != null) {
    json[r'connection'] = this.connection;
  } else {
    json[r'connection'] = null;
  }
  if (this.staticTags != null) {
    json[r'staticTags'] = this.staticTags;
  } else {
    json[r'staticTags'] = null;
  }
  return json;
}