factory PatternInfo.fromJson(Map<String, dynamic> json) { return PatternInfo(json['title'], json['axes']); }