targetPlatform property
TargetPlatform
get
targetPlatform
Implementation
TargetPlatform get targetPlatform {
return switch (platform) {
LdPlatform.android => TargetPlatform.android,
LdPlatform.ios => TargetPlatform.iOS,
LdPlatform.macos => TargetPlatform.macOS,
LdPlatform.linux => TargetPlatform.linux,
LdPlatform.windows => TargetPlatform.windows,
LdPlatform.webAndroid => TargetPlatform.android,
LdPlatform.webIOS => TargetPlatform.iOS,
LdPlatform.webMacOS => TargetPlatform.macOS,
LdPlatform.webWindows => TargetPlatform.windows,
LdPlatform.webLinux => TargetPlatform.linux,
LdPlatform.webUnknown => TargetPlatform.android,
null => TargetPlatform.android,
};
}