toJson method

  1. @override
Map<String, Object?> toJson()
override

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(),
    };