fileTypeValidationMessage method

String fileTypeValidationMessage(
  1. String fieldName,
  2. String type
)

Implementation

String fileTypeValidationMessage(String fieldName, String type) {
  return Intl.message(
    '$fieldName must be of type: $type.',
    name: 'fileTypeValidationMessage',
    desc:
        'Validation message for a file field that must be of a specific type',
    args: [fieldName, type],
    locale: localeName,
  );
}