toJson method

Map<String, dynamic> toJson()

Implementation

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