requireField function

String requireField (
  1. String field
)

Marks a field name as required.

Implementation

String requireField(String field) => '$field*';