vyrax_core 0.2.1 copy "vyrax_core: ^0.2.1" to clipboard
vyrax_core: ^0.2.1 copied to clipboard

Core contracts and shared models for Vyrax.

example/vyrax_core_example.dart

import 'package:vyrax_core/vyrax_core.dart';

void main() {
  const issue = VyraxIssue(
    id: 'VYRAX_EXAMPLE',
    title: 'Core package wiring',
    description: 'Core package is wired correctly.',
    severity: VyraxSeverity.info,
    category: VyraxIssueCategory.testing,
    file: 'example/vyrax_core_example.dart',
    line: 1,
  );

  // Keep example intentionally minimal while still using the value.
  final message = issue.message;
  if (message.isEmpty) {
    throw StateError('Example message must not be empty.');
  }
}
0
likes
150
points
379
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Core contracts and shared models for Vyrax.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

yaml

More

Packages that depend on vyrax_core