record function

Expr record(
  1. Iterable<Pair> pairs
)

Implementation

Expr record(Iterable<Pair> pairs) {
  return ExprRecord({
    for (final (key, value) in pairs) key: value,
  });
}