message method

  1. @override
String message(
  1. dynamic value, [
  2. List<String>? options
])
override

The error message to be displayed if validation fails.

This message indicates that the file type is not allowed.

Implementation

@override
String message(dynamic value, [List<String>? options]) =>
    'The file type is not allowed.';