encode method
- FileType self
override
Implementation
@override
dynamic encode(FileType self) {
switch (self) {
case FileType.pack:
return 'pack';
case FileType.game:
return 'game';
case FileType.template:
return 'template';
}
}