versison top-level constant

List<String> const versison

List of API versions used by the library.

The first element of the list is the primary API version, and the others are fallback versions in case the primary API is not available.

The version string is used as a suffix in the API URL, for example, if the version is "v1", the actual API URL used would be "https://lsp-api-beta.mitrafintech.com/api/v1/".

See also:

  • getApiUrl, for constructing the full API URL from the base URL and version.

Implementation

const List<String> versison = ["v1"];