App constructor
App({})
Implementation
factory App({
$core.List<$core.int>? appId,
$core.String? name,
$core.String? namespace,
$fixnum.Int64? revision,
$core.List<$core.int>? sourceId,
$core.Map<$core.String, JobSpec>? jobs,
$0.Timestamp? createdAt,
$core.List<$core.int>? createdBy,
}) {
final _result = create();
if (appId != null) {
_result.appId = appId;
}
if (name != null) {
_result.name = name;
}
if (namespace != null) {
_result.namespace = namespace;
}
if (revision != null) {
_result.revision = revision;
}
if (sourceId != null) {
_result.sourceId = sourceId;
}
if (jobs != null) {
_result.jobs.addAll(jobs);
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (createdBy != null) {
_result.createdBy = createdBy;
}
return _result;
}