id property

String? id
final

Names the toast.

Showing a message with an id already on screen updates that toast in place and restarts its clock, which is what "uploading… / uploaded" wants: one toast that changed its mind, not two stacked on each other.

Implementation

final String? id;