Bill constructor
Bill({})
Implementation
factory Bill({
$0.AccountId? accountId,
$3.Timestamp? from,
$3.Timestamp? to,
$core.Iterable<$core.MapEntry<$core.int, $1.Credit>>? buckets,
$1.Credit? total,
}) {
final result = create();
if (accountId != null) result.accountId = accountId;
if (from != null) result.from = from;
if (to != null) result.to = to;
if (buckets != null) result.buckets.addEntries(buckets);
if (total != null) result.total = total;
return result;
}