fileTooLargeError method

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

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

Implementation

@override
String fileTooLargeError(double limitInMB) =>
    'The file is too large to upload. The file size limit is $limitInMB MB.';