Converts this object into JSON format.
Map<String, dynamic> toJson() { return { ApiFields.label: label, ApiFields.vendorId: vendorId, }; }