Shorthand operations for index.
IndexRef index({ required String name, String? type, }) => IndexRef._(this, name, type);