parseAllMaker function

List<MakerInfo> parseAllMaker(
  1. String responseBody
)

Implementation

List<MakerInfo> parseAllMaker(String responseBody) {
  final parsed = jsonDecode(responseBody).cast<Map<String, dynamic>>();

  return parsed.map<MakerInfo>((json) => MakerInfo.fromJson(json));
}