JokerResponseFile extension
Extension methods for JokerResponse that require dart:io
This extension is only available on native platforms (mobile, desktop, server) where dart:io is supported.
Static Methods
-
jsonFile(
String filePath, {int statusCode = 200, Map< String, String> headers = const {}, Duration? delay}) → Future<JokerResponse> -
Available on JokerResponse, provided by the JokerResponseFile extension
Creates a successful response with JSON body loaded from a file