toEllipseString method

String toEllipseString()

Returns address in ellipse form

Implementation

String toEllipseString() => address.length > 6
    ? '${address.substring(0, 6)}...${address.substring(address.length - 4)}'
    : address;