addMockApi static method
Implementation
static Future addMockApi({MockApi? mockApi}) async {
return await toScreen(
ChangeNotifierProvider(
create: (context) => AddMockApiProvider(mockApi: mockApi),
child: const AddMockApiScreen(),
),
addMockApiName);
}