ApiEndpointCheckVersion extension

on
  • Dio

Methods

checkCompatibility<T>({required String path, required String appVersion, String queryParamKey = 'version', required T deserializeFn(Map<String, dynamic> json)}) Future<T>
Returns the result of api call to check the version.
checkCompatibilityMapped({required String path, required String appVersion, String queryParamKey = 'version'}) Future<CompatibilityApiResult>
Returns the result of api call to check the version, mapped into Equatable classes