toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final ancestors = this.ancestors;
  final asset = this.asset;
  final assetType = this.assetType;
  final relationshipType = this.relationshipType;
  return {
    'ancestors': ?ancestors,
    'asset': ?asset,
    'assetType': ?assetType,
    'relationshipType': ?relationshipType,
  };
}