toJson method

Map<String, Object?> toJson()

JSON-like representation for validation reports and debug tools.

Implementation

Map<String, Object?> toJson() {
  return <String, Object?>{
    'platform': platform,
    'targetAbis': targetAbis,
    'runtimeLibraryLoad': runtimeLibraryLoad,
    'symbolResolution': symbolResolution,
    'threadedRuntime': threadedRuntime,
    'cacheDirectory': cacheDirectory,
    'networkPolicy': networkPolicy,
  };
}