TextFile constructor

TextFile({
  1. required String content,
  2. required String name,
  3. required String type,
  4. required String path,
})

Creates a new TextFile.

Requires content, name, path, and type to be non-null.

Implementation

TextFile({
  required this.content,
  required super.name,
  required super.type,
  required super.path,
});