toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'args'] = this.args;
if (this.createdAt != null) {
json[r'created_at'] = this.createdAt!.toUtc().toIso8601String();
} else {
json[r'created_at'] = null;
}
json[r'description'] = this.description;
json[r'name'] = this.name;
json[r'set'] = this.set_;
if (this.updatedAt != null) {
json[r'updated_at'] = this.updatedAt!.toUtc().toIso8601String();
} else {
json[r'updated_at'] = null;
}
return json;
}