fromCompatibleFormat static method

MiscInfo fromCompatibleFormat(
  1. String csv
)

Implementation

static MiscInfo fromCompatibleFormat(String csv) {
  final Map<String, dynamic> data =
      jsonDecode(csv) as Map<String, dynamic>;
  return MiscInfo(
      coopertition: data["coop"], breakdown: data["broken"]);
}