toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'approvalConfig': approvalConfig.toMap(),
'autodetect': autodetect,
'bitbucketServerTriggerConfig': bitbucketServerTriggerConfig.toMap(),
'build': build.toMap(),
'createTime': createTime,
'description': description,
'disabled': disabled,
'eventType': eventType,
'filename': filename,
'filter': filter,
'gitFileSource': gitFileSource.toMap(),
'github': github.toMap(),
'gitlabEnterpriseEventsConfig': gitlabEnterpriseEventsConfig.toMap(),
'ignoredFiles': ignoredFiles,
'includeBuildLogs': includeBuildLogs,
'includedFiles': includedFiles,
'name': name,
'pubsubConfig': pubsubConfig.toMap(),
'repositoryEventConfig': repositoryEventConfig.toMap(),
'resourceName': resourceName,
'serviceAccount': serviceAccount,
'sourceToBuild': sourceToBuild.toMap(),
'substitutions': substitutions,
'tags': tags,
'triggerTemplate': triggerTemplate.toMap(),
'webhookConfig': webhookConfig.toMap(),
};
}