call method

  1. @override
Future<CustomConfigModel?> call({
  1. required String key,
})
override

Implementation

@override
Future<CustomConfigModel?> call({required String key}) async {
  var appId = await _establishmentById.currentId();
  if (appId == null) {
    return null;
  }

  return _repository.getCustomConfig(appId: appId, key: key);
}