isValidFile method

  1. @override
bool isValidFile(
  1. List<int> data
)
override

Is the given file a valid JPEG image?

Implementation

@override
bool isValidFile(List<int> data) => JpegData().validate(data);