$bytes static method
Wrapper for the Response.bytes constructor
Implementation
static $Value? $bytes(
Runtime runtime,
$Value? thisValue,
List<$Value?> args,
) {
return $Response.wrap(
Response.bytes(
(args[0]!.$reified as List).cast(),
args[1]!.$value,
request: args[2]?.$value,
headers: (args[3]?.$reified ?? const {} as Map?)?.cast(),
isRedirect: args[4]?.$value ?? false,
persistentConnection: args[5]?.$value ?? true,
reasonPhrase: args[6]?.$value,
),
);
}