fixedLength method Null safety

String? fixedLength(
  1. String? value,
  2. {String? message,
  3. required int length}
)

Check if the

Implementation

static String? fixedLength(String? value, {String? message, required int length}) =>
    value == null || value.isEmpty || value.length == length ? null : message ?? 'Please enter an input of valid length';