NewsMarker constructor

const NewsMarker({
  1. required String id,
  2. required LatLng location,
  3. required String title,
  4. String? source,
  5. String? url,
  6. DateTime? publishedAt,
  7. String? imageUrl,
  8. double? tone,
})

Implementation

const NewsMarker({
  required this.id,
  required this.location,
  required this.title,
  this.source,
  this.url,
  this.publishedAt,
  this.imageUrl,
  this.tone,
});