Location constructor

Location({
  1. required int id,
  2. required String name,
  3. required String type,
  4. required String dimension,
  5. required List<String> residents,
  6. required String url,
  7. required DateTime created,
})

Implementation

Location({
  required this.id,
  required this.name,
  required this.type,
  required this.dimension,
  required this.residents,
  required this.url,
  required this.created,
});