fsUI property

String? get fsUI

Implementation

String? get fsUI => switch (fType) {
      FileFractalType.file || FileFractalType.unknown => switch (ext) {
          'jpg' || 'jpeg' || 'png' || 'gif' || 'bmp' || 'webp' => 'image',
          'txt' ||
          'dart' ||
          'js' ||
          'css' ||
          'html' ||
          'json' ||
          'yaml' ||
          'yml' ||
          'md' =>
            'text',
          _ => 'file',
        },
      FileFractalType.directory => 'tiles',
      _ => null,
    };