createMissingArgumentException function

Expression createMissingArgumentException({
  1. required String key,
  2. required String location,
})

Implementation

Expression createMissingArgumentException({
  required String key,
  required String location,
}) {
  return refer((MissingArgumentException).name).constInstance(
    [],
    {
      'key': literalString(key),
      'location': literalString(location),
    },
  );
}