toJson method
Returns a JSON representation of this.
Implementation
@override
Map<String, Object?> toJson() => {
'runtimeType': 'InMemoryFiles',
'world-file': worldFile.toJson(),
'pkg-files': pkgFiles.map((e) => e.toJson()).toList(),
};