fileTooLargeAfterCompressionError method

  1. @override
String fileTooLargeAfterCompressionError(
  1. double limitInMB
)

The error shown in case the file is too large even after compression while uploading via StreamMessageInput

Implementation

@override
String fileTooLargeAfterCompressionError(double limitInMB) =>
    'The file is too large to upload. '
    'The file size limit is $limitInMB MB. '
    'We tried compressing it, but it was not enough.';