toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final repositoryUrl = this.repositoryUrl;
  final branch = this.branch;
  final secretArn = this.secretArn;
  return {
    'RepositoryUrl': repositoryUrl,
    if (branch != null) 'Branch': branch,
    if (secretArn != null) 'SecretArn': secretArn,
  };
}