toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'id'] = this.id;
    json[r'name'] = this.name;
    json[r'variables'] = this.variables;
    json[r'content'] = this.content;
    json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
  return json;
}