toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.branch != null) {
    json[r'branch'] = this.branch;
  } else {
    json[r'branch'] = null;
  }
  if (this.repo != null) {
    json[r'repo'] = this.repo;
  } else {
    json[r'repo'] = null;
  }
  if (this.routed != null) {
    json[r'routed'] = this.routed;
  } else {
    json[r'routed'] = null;
  }
  if (this.sessionId != null) {
    json[r'sessionId'] = this.sessionId;
  } else {
    json[r'sessionId'] = null;
  }
  if (this.targetId != null) {
    json[r'targetId'] = this.targetId;
  } else {
    json[r'targetId'] = null;
  }
  return json;
}