ConnectAdminResponse constructor

ConnectAdminResponse({
  1. ClientApp? app,
  2. Map<int, ConnectMetrics>? metrics,
})

Implementation

factory ConnectAdminResponse({
  ClientApp? app,
  $core.Map<$core.int, ConnectMetrics>? metrics,
}) {
  final _result = create();
  if (app != null) {
    _result.app = app;
  }
  if (metrics != null) {
    _result.metrics.addAll(metrics);
  }
  return _result;
}