[MatrixFile] Path always lower case

This commit is contained in:
Christian Pauly 2019-10-23 18:14:04 +00:00
parent 9812d0b0e1
commit 8b67d58ecc
1 changed files with 1 additions and 1 deletions

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;
}