toJson method
Implementation
Map toJson() {
return {
"@type": "fileSystemEntityChildren",
"path": fileSystemEntity.path,
"type": fileSystemEntityType.toString(),
"children": children.map((e) => e.toJson()).toList(
growable: true,
),
};
}