StatisticResult constructor

StatisticResult({
  1. Timestamp? from,
  2. Timestamp? to,
  3. Iterable<MapEntry<String, StatisticValue>>? values,
  4. AccountId? accountId,
})

Implementation

factory StatisticResult({
  $2.Timestamp? from,
  $2.Timestamp? to,
  $core.Iterable<$core.MapEntry<$core.String, StatisticValue>>? values,
  $1.AccountId? accountId,
}) {
  final result = create();
  if (from != null) result.from = from;
  if (to != null) result.to = to;
  if (values != null) result.values.addEntries(values);
  if (accountId != null) result.accountId = accountId;
  return result;
}