IOSInfo constructor
iOS-specific data
Implementation
IOSInfo({
required this.teamId,
required this.bundleId,
required this.appStoreURL,
}) {
if (bundleId.trim().isEmpty) throw Exception('bundleId required');
if (teamId.trim().isNotEmpty && !AppUtils().isValidTeamId(teamId)) {
throw Exception('Invalid teamId: $teamId');
}
if (appStoreURL.trim().isNotEmpty &&
!AppUtils().isValidAppStoreURL(appStoreURL)) {
throw Exception('Invalid appStoreURL: $appStoreURL');
}
}