toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final contentHash = this.contentHash;
  final metadataHash = this.metadataHash;
  final payload = this.payload;
  final queue = this.queue;
  final repositoryError = this.repositoryError;
  final structuredDataHash = this.structuredDataHash;
  final type = this.type;
  return {
    'contentHash': ?contentHash,
    'metadataHash': ?metadataHash,
    'payload': ?payload,
    'queue': ?queue,
    'repositoryError': ?repositoryError,
    'structuredDataHash': ?structuredDataHash,
    'type': ?type,
  };
}