waktu_solat_lib library

A Flutter library for fetching Malaysian prayer times from the Waktu Solat API.

Classes

PrayerTime
Represents the prayer times for a single day.
SolatV2
Represents the response structure for prayer times fetched from the API (endpoints /v2/solat/zone/{zone} and /v2/solat/gps/{lat}/{long}).
State
Represents a Malaysian state and its associated prayer zone codes.
WaktuSolatClient
A client for interacting with the Waktu Solat API v2 (https://api.waktusolat.app/docs).
ZoneInfo
Represents zone information returned by the API.

Exceptions / Errors

WaktuSolatApiException
Exception class for Waktu Solat API related errors.