requireFields function

String requireFields (
  1. Iterable<String> fields
)

Marks multiple fields as required.

Implementation

String requireFields(Iterable<String> fields) =>
    fields.map(requireField).join(', ');