mockApi static method

Future mockApi(
  1. BuildContext? context
)

Navigates to the mock API screen

Returns a Future that completes when the navigation is finished

Implementation

static Future mockApi(BuildContext? context) async {
  return await toNamed(mockApiName);
}