$fromIterable static method
Wrapper for LinkedHashMap.fromIterable
Implementation
static $Value? $fromIterable(
Runtime runtime,
$Value? target,
List<$Value?> args,
) {
return $LinkedHashMap.wrap(
LinkedHashMap.fromIterable(
(args[0] as $Iterable).$value,
key: args[1] == null
? null
: (a) => (args[1] as EvalCallable)(runtime, null, [
runtime.wrap(a),
])!.$value,
value: args[2] == null
? null
: (a) => (args[2] as EvalCallable)(runtime, null, [
runtime.wrap(a),
])!.$value,
),
);
}