stringify property

String Function(T) stringify

A function called to convert elements into Strings that can be displayed in the Discord client.

This function should return a unique textual representation for each element provider returns. It should be consistent (that is, if a == b, stringify(a) == stringify(b)) or the converter might fail unexpectedly.

Implementation

String Function(T) get stringify;