eventified_generator 0.4.0 copy "eventified_generator: ^0.4.0" to clipboard
eventified_generator: ^0.4.0 copied to clipboard

Transform method calls to a stream of events.

example/example.dart

import 'package:eventified/eventified.dart';

@eventified
abstract class Example {
  @Event(metadata: 'Hello')
  void hello({
    required bool world,
    @EventArgument(metadata: 'Name') String? name,
    int withDefault = 42,
  });

  void world(String name);
}