toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final gitCloneDepth = this.gitCloneDepth;
  final insecureSsl = this.insecureSsl;
  final location = this.location;
  final type = this.type;
  return {
    if (gitCloneDepth != null) 'GitCloneDepth': gitCloneDepth,
    if (insecureSsl != null) 'InsecureSsl': insecureSsl,
    if (location != null) 'Location': location,
    if (type != null) 'Type': type,
  };
}