issn method

String issn({
  1. String mask = "####-####",
})

Returns a random ISSN.

mask is optional mask of ISSN. "#" will be changed to digit and "@" will be changed to ascii character. Any provided digits or characters in mask will be left as is (default mask is 4 digits followed by "-" followed by 4 digits).

Example:

Code().issn(); // "9032-7804"
Code().issn(mask: "##-##-####"); // "75-19-3500"

Implementation

String issn({String mask = "####-####"}) =>
    Rng.customCode(mask: mask, seed: seed);