toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'type'] = this.type;
  json[r'gems'] = this.gems;
  json[r'description'] = this.description;
  json[r'metadata'] = this.metadata;
  json[r'created_at'] = this.createdAt.toUtc().toIso8601String();
  return json;
}