BuglyOptions constructor
BuglyOptions(
{ - required String appId,
- required String appKey,
- required String bundleId,
})
Implementation
BuglyOptions({
required String appId,
required String appKey,
required String bundleId
}) {
this.appId = appId;
this.appKey = appKey;
this.bundleId = bundleId;
if (Platform.isIOS) {
this.platform = "iPhone";
} else if (Platform.isAndroid) {
this.platform = "Android";
} else if (Platform.isMacOS) {
this.platform = "Mac";
} else if (Platform.isWindows) {
this.platform = "Windows";
}
}