percentFormat property
String
get
percentFormat
百分比格式化方法 0.25.percentFormat → "25%"
Implementation
String get percentFormat {
if (this == null) return '0%';
return '${this! * 100}%';
}
百分比格式化方法 0.25.percentFormat → "25%"
String get percentFormat {
if (this == null) return '0%';
return '${this! * 100}%';
}