mobdr/lib/bloc/example/example_event.dart

15 lines
331 B
Dart

import 'package:meta/meta.dart';
@immutable
abstract class ExampleEvent {}
class GetExample extends ExampleEvent {
final apiToken;
GetExample({@required this.apiToken});
}
class PostExample extends ExampleEvent {
final String id;
final apiToken;
PostExample({required this.id, required this.apiToken});
}