[MatrixFile] Path always lower case

This commit is contained in:
Christian Pauly 2019-10-23 18:14:04 +00:00
parent 9812d0b0e1
commit 8b67d58ecc

View file

@ -2,6 +2,6 @@ class MatrixFile {
List<int> bytes;
String path;
MatrixFile({this.bytes, this.path});
MatrixFile({this.bytes, String path}) : this.path = path.toLowerCase();
int get size => bytes.length;
}