categories top-level property

List<Category> categories
getter/setter pair

Implementation

List<Category> categories = [
  Category(
    categoryName: 'Category1',
    description: 'Category1 description',
//    image: Uint8List.fromList('R0lGODlhAQABAAAAACwAAAAAAQABAAA='.codeUnits),
  ),
  Category(
    categoryName: 'Category2',
    description: 'Category2 description',
//    image: Uint8List.fromList('R0lGODlhAQABAAAAACwAAAAAAQABAAA='.codeUnits),
  ),
  Category(
    categoryName: 'Category3',
    description: 'Category3 description',
//    image: Uint8List.fromList('R0lGODlhAQABAAAAACwAAAAAAQABAAA='.codeUnits),
  ),
  Category(
    categoryName: 'Category4 to be deleted',
    description: 'Category4 description',
//    image: Uint8List.fromList('R0lGODlhAQABAAAAACwAAAAAAQABAAA='.codeUnits),
  ),
];