setPlatform method
Implementation
NotificationBuilder setPlatform(PlatformType platform) {
if (platform != PlatformType.android && platform != PlatformType.ios) {
throw ArgumentError("Platform must be either 'android' or 'ios'.");
}
_platform = platform;
return this;
}