toJson method

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

Returns a JSON representation of this.

Implementation

@override
Map<String, Object?> toJson() => {
  'runtimeType': 'WasmFeatures',
  'mutable-global': mutableGlobal,
  'saturating-float-to-int': saturatingFloatToInt,
  'sign-extension': signExtension,
  'reference-types': referenceTypes,
  'multi-value': multiValue,
  'bulk-memory': bulkMemory,
  'simd': simd,
  'relaxed-simd': relaxedSimd,
  'threads': threads,
  'tail-call': tailCall,
  'floats': floats,
  'multi-memory': multiMemory,
  'exceptions': exceptions,
  'memory64': memory64,
  'extended-const': extendedConst,
  'component-model': componentModel,
  'function-references': functionReferences,
  'memory-control': memoryControl,
  'gc': gc,
};