getShortString method
Implementation
String getShortString() {
if (_address == null) return "";
if (_address!.length < 21) {
return _address!;
} else {
return _address!.substring(0, 11) +
"..." +
_address!.substring(_address!.length - 6);
}
}