PublicDashboardResponse constructor
PublicDashboardResponse({
- Organization? organization,
- Iterable<
Organization> ? organizations, - Collaboration? collaboration,
- Iterable<
Collaboration> ? collaborations, - String? secret,
- ClientApp? connectApp,
- Iterable<
ClientApp> ? connectApps, - Map<
int, ConnectMetrics> ? metrics,
Implementation
factory PublicDashboardResponse({
Organization? organization,
$core.Iterable<Organization>? organizations,
Collaboration? collaboration,
$core.Iterable<Collaboration>? collaborations,
$core.String? secret,
ClientApp? connectApp,
$core.Iterable<ClientApp>? connectApps,
$core.Map<$core.int, ConnectMetrics>? metrics,
}) {
final _result = create();
if (organization != null) {
_result.organization = organization;
}
if (organizations != null) {
_result.organizations.addAll(organizations);
}
if (collaboration != null) {
_result.collaboration = collaboration;
}
if (collaborations != null) {
_result.collaborations.addAll(collaborations);
}
if (secret != null) {
_result.secret = secret;
}
if (connectApp != null) {
_result.connectApp = connectApp;
}
if (connectApps != null) {
_result.connectApps.addAll(connectApps);
}
if (metrics != null) {
_result.metrics.addAll(metrics);
}
return _result;
}