toJsonLd method

  1. @override
Map<String, dynamic> toJsonLd()
override

Serialize Schema3DModel to JSON-LD

Implementation

@override
Map<String, dynamic> toJsonLd() => removeEmpty({
      ...super.toJsonLd(),
      '@type': '3DModel',
      'isResizable': convertToJsonLd(isResizable, [bool]),
    });