cid property

String get cid

Returns a random CID code.

Example:

Payment().cid; // "1945"

Implementation

String get cid =>
    Random(seed).integer(min: 1, max: 9999).toString().padLeft(4, '0');