TokenBundle constructor

TokenBundle({
  1. Iterable<TokenAmount>? token,
})

Implementation

factory TokenBundle({
  $core.Iterable<TokenAmount>? token,
}) {
  final _result = create();
  if (token != null) {
    _result.token.addAll(token);
  }
  return _result;
}