feat: refactor code
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
abstract class ProfileEvent {}
|
||||
|
||||
class LoadProfileEvent extends ProfileEvent {}
|
||||
|
||||
class SaveProfileEvent extends ProfileEvent {
|
||||
final String firstName;
|
||||
final String avatar;
|
||||
SaveProfileEvent(this.firstName, this.avatar);
|
||||
}
|
||||
Reference in New Issue
Block a user