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