models/_all
library
Classes
-
CacheModel
-
A model representing cached data along with its expiration time.
-
CacheResult<T>
-
Represents a result that comes from cache.
-
ErrorResult<T>
-
Represents an error result.
-
LocalErrorResult<T>
-
Represents a local error result (e.g., a caching error).
-
LocalSuccessResult<T>
-
Represents a successful local (cached) result.
-
NetworkResult<T>
-
Represents a network result that includes the response.
-
Result<T>
-
A generic Result class to hold the outcome of operations.
-
SuccessResult<T>
-
Represents a successful result.
Functions
-
dateTimeFromJson(String? json)
→ DateTime?
-
Converts a dot-separated string to a DateTime object.
The expected format is "YYYY.MM.DD.HH.MM.SS".