gen method Null safety

String gen(
  1. {String? prefix = '',
  2. String? ext = '',
  3. String? seperator = '-'}
)

Implementation

static String gen({
  String? prefix: '',
  String? ext: '',
  String? seperator: '-',
}) {
  return genSpecifyTime(
      prefix: prefix, ext: ext, seperator: seperator, time: DateTime.now());
}