PowerMapSearchResult constructor

PowerMapSearchResult({
  1. required int gid,
  2. required String name,
  3. String nameEn = '',
  4. String nameTh = '',
  5. required String address,
  6. String addressEn = '',
  7. String addressTh = '',
  8. required LatLng position,
  9. String province = '',
  10. String amphoe = '',
  11. String tambon = '',
  12. String postCode = '',
  13. Map<String, dynamic> rawData = const {},
})

Implementation

PowerMapSearchResult({
  required this.gid,
  required this.name,
  this.nameEn = '',
  this.nameTh = '',
  required this.address,
  this.addressEn = '',
  this.addressTh = '',
  required this.position,
  this.province = '',
  this.amphoe = '',
  this.tambon = '',
  this.postCode = '',
  this.rawData = const {},
});