StatusResponse class

Represents the response status from the server.

Constructors

StatusResponse({required Status status, required String message, DateTime? dataUpdated, String? softwareVersion, String? databaseVersion})
StatusResponse.fromJson(Map<String, dynamic> json)
Creates a StatusResponse from a JSON object.
factory

Properties

databaseVersion String?
The version of the database.
final
dataUpdated DateTime?
The date and time when the data was last updated.
final
hashCode int
The hash code for this object.
no setterinherited
message String
The message associated with the response.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
softwareVersion String?
The version of the software.
final
status Status
The status of the response. Represents the status response from the Nominatim API.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Converts the StatusResponse to a string representation.
override

Operators

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