toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final author = this.author;
  final imageUrl = this.imageUrl;
  final referenceUrl = this.referenceUrl;
  final resourceId = this.resourceId;
  final type = this.type;
  return {
    'author': ?author,
    'imageUrl': ?imageUrl,
    'referenceUrl': ?referenceUrl,
    'resourceId': ?resourceId,
    'type': ?type,
  };
}