Elem constructor

Elem({
  1. Expr? get,
  2. Expr? from,
})

Implementation

factory Elem({
  Expr? get,
  Expr? from,
}) {
  final $result = create();
  if (get != null) {
    $result.get = get;
  }
  if (from != null) {
    $result.from = from;
  }
  return $result;
}