platformDefaultValue property
Set the default value for command result on platforms that not available.
Default is an empty string.
Warning: the Default value of this option will be null from the future v1.0.0 version.
Keep empty in current versions because settings a null default
value will cause the type of generated variables changes from String
to String?
, which is a BREAKING CHANGE.
Implementation
final String? platformDefaultValue;