getDis method

String getDis()

Returns display string which is dis field if non-null, val field otherwise.

Implementation

String getDis() => (dis != null) ? dis! : val;