$maybeOf static method

$Value? $maybeOf(
  1. Runtime runtime,
  2. $Value? target,
  3. List<$Value?> args
)

Wrapper for the MapOptions.maybeOf method

Implementation

static $Value? $maybeOf(Runtime runtime, $Value? target, List<$Value?> args) {
  final value = MapOptions.maybeOf(args[0]!.$value);
  return value == null ? const $null() : $MapOptions.wrap(value);
}