createForInt method

String createForInt(
  1. List<String> options
)

Implementation

String createForInt(List<String> options) {
  if (options.hasStartsWithOr(['max', 'min', 'chars'])) {
    return _minMaxFaker(options, type);
  }

  throw 'No faker could be generated for type `int` with options $options';
}