UrlServices class

URL endpoints for the Thirukural API.

This class contains all the API endpoint constants used to fetch Thirukural data from the backend server.

Constructors

UrlServices()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

baseUrl → const String
Base URL for the Thirukural API server.
getAllEnglishChaptersNames → const String
Endpoint to get all English chapter names.
getAllTamilChaptersNames → const String
Endpoint to get all Tamil chapter names.
getAllThirukurals → const String
Endpoint to get all Thirukurals.
getAllThirukuralsWithRange → const String
Endpoint to get Thirukurals within a specific range.
getKuralByNumber → const String
Endpoint to get a Thirukural by its number (1-1330).
getKuralOfTheDay → const String
Endpoint to get the Kural of the Day.
getKuralsByEnglishChapterName → const String
Endpoint to get Thirukurals by English chapter name.
getKuralsByEnglishSectionName → const String
Endpoint to get Thirukurals by English section name.
getKuralsByTamilChapterName → const String
Endpoint to get Thirukurals by Tamil chapter name.
getKuralsByTamilSectionName → const String
Endpoint to get Thirukurals by Tamil section name.