getPackage method

  1. @override
Future<Either<ApplicationException, Application>> getPackage(
  1. GetApplication getApplication
)
override

Get application by packageName and if does application exists returns ApplicationModel, does not return an ApplicationException

Implementation

@override
Future<Either<ApplicationException, Application>> getPackage(
    GetApplication getApplication) {
  return applicationGateway.getPackage(
    GetApplicationModel(packageName: getApplication.packageName),
  );
}