Serializes this function back to its catalog.json schema.
catalog.json
Map<String, dynamic> toJson() => schema;