getAppStoreUri function
Returns the Uri for the app store on the current platform.
Implementation
Uri? getAppStoreUri() {
if (kIsWeb) return null;
if (Platform.isIOS) {
return Uri.parse(
'https://apps.apple.com/us/app/kohler-energy-management/id1627740645?platform=iphone',
);
}
if (Platform.isAndroid) {
return Uri.parse(
'https://play.google.com/store/apps/details?'
'id=com.kohlerpower.homeowner_app',
);
}
return null;
}