NavigationMarker constructor

NavigationMarker({
  1. required String imagePath,
  2. required LatLng latLng,
  3. String? title,
  4. String? snippet,
  5. int? width,
  6. int? height,
})

Implementation

NavigationMarker({
  required this.imagePath,
  required this.latLng,
  this.title,
  this.snippet,
  this.width,
  this.height,
})  : assert(width != null || height == null,
          'Width and height must be both provided or both null'),
      assert(height != null || width == null,
          'Width and height must be both provided or both null');