FileEditor constructor

FileEditor({
  1. String? name,
  2. String? language,
  3. String? code,
})

Implementation

FileEditor({String? name, String? language, String? code}) {
  this.name = name ?? "file.${language ?? 'txt'}";
  this.language = language ?? "text";
  this.code = code ?? "";
}