toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (ancestors != null) 'ancestors': ancestors!,
      if (asset != null) 'asset': asset!,
      if (assetType != null) 'assetType': assetType!,
      if (relationshipType != null) 'relationshipType': relationshipType!,
    };