FileSizeRule constructor
Creates a new instance of the FileSizeRule validation rule.
maxSizeInBytes
The maximum size of the file in bytes (required).message
A custom validation message (optional) to be displayed when the validation fails.
Implementation
FileSizeRule({
required this.maxSizeInBytes,
String? message,
}) : super(message);