toMockApis static method
Implementation
static Map<String, MockAPIResponse> toMockApis(
Map<String, Map<String, dynamic>> raw, {
required String sourceLabel,
}) {
return {
for (final entry in raw.entries)
entry.key: parseApiResponse(
entry.value,
sourceLabel: sourceLabel,
apiName: entry.key,
),
};
}