NewsMarker class

Represents a news marker with geographic location and metadata.

Constructors

NewsMarker({required String id, required LatLng location, required String title, String? source, String? url, DateTime? publishedAt, String? imageUrl, double? tone})
const
NewsMarker.fromGeoJson(Map<String, dynamic> feature)
Parse a NewsMarker from GDELT GeoJSON feature.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
final
imageUrl String?
final
location LatLng
final
publishedAt DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
final
title String
final
tone double?
final
url String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited