namedArguments property

Map<Symbol, dynamic>? get namedArguments

The named arguments, derived from namedParameters. Used by invoke.

Implementation

Map<Symbol, dynamic>? get namedArguments {
  var namedParameters = this.namedParameters;
  if (namedParameters == null || namedParameters.isEmpty) {
    return null;
  }
  var args =
      namedParameters.map((key, value) => MapEntry(Symbol(key), value));
  return args;
}